Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions on backups #1

Open
hermanbanken opened this issue Dec 16, 2011 · 0 comments
Open

Permissions on backups #1

hermanbanken opened this issue Dec 16, 2011 · 0 comments
Milestone

Comments

@hermanbanken
Copy link
Owner

hermanbanken commented Dec 16, 2011

The website runs as the default apache user and when doing a backup of user folders we need to run the rsync commands as root or as a privileged user. My question is how to do this the nicest way. My guesses are:

  • Create simple deamon that runs as root and backup's folder -arg1 to -arg2 minding the old backup in -arg3.
  • Run rsync as the logged in user by remembering the users pass at login. (Problem: running ps will reveal password).
  • Create special rsync user (Problem: rsync user can read everything).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant