Best practices while running a backup script as root.

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
+ (text/html)
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: PLUG-discuss
Date:  
À: Main PLUG discussion list
Sujet: Best practices while running a backup script as root.
Hi,

I have one PHP Script using the AWS S3 SDK that I have configured to
backup each site on a vps. I need to run it as root because of
permission issues. What is the best practice in this type of situation?


The server is running Ubuntu 16.04 and Plesk 17.5.

Should I place all the backup files in the /root directory or create
another directly such as /backups owned by root? I think I may have
answered my own question with /backups owned by root.

Thank you for your guidance!!

Keith---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss