Red Squirrel
No Lifer
This is an issue I'm always fighting with when doing remote backups. I'm wondering if I should just say screw it and do my backups as root... but I don't really like that idea.
For rsync to work properly the user that it's running under has to have access to the files on the remote system, which makes sense.
But how do I get around this whole issue? It's annoying having to have mass chmod / chown scripts just so I can get my backup scripts to work properly. There's got to be an easier way.
In some cases I can't give the backup user permission as some specialized files need to have specific permissions. Short from running all backups under root, what are the other options for painless backups without worrying about permissions?
also what does "skipping non-regular file" mean? My logs are flooded with these all the time.
For rsync to work properly the user that it's running under has to have access to the files on the remote system, which makes sense.
But how do I get around this whole issue? It's annoying having to have mass chmod / chown scripts just so I can get my backup scripts to work properly. There's got to be an easier way.
In some cases I can't give the backup user permission as some specialized files need to have specific permissions. Short from running all backups under root, what are the other options for painless backups without worrying about permissions?
also what does "skipping non-regular file" mean? My logs are flooded with these all the time.
Last edited: