LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Using Rsync to Backup (https://www.linuxquestions.org/questions/slackware-14/using-rsync-to-backup-666130/)

FredGSanford 08-28-2008 01:51 PM

Using Rsync to Backup
 
I've been using rsync to do some backups and would like for it to backup /home for all users, but it seems it only backup my current /home/directory. Do anybody know how I can get it to backup all users by running as my user?

Thnx.

trickykid 08-28-2008 01:56 PM

Quote:

Originally Posted by FredGSanford (Post 3262924)
I've been using rsync to do some backups and would like for it to backup /home for all users, but it seems it only backup my current /home/directory. Do anybody know how I can get it to backup all users by running as my user?

Thnx.

You should really start your own thread instead of hijacking existing threads. And no, as a regular user, you should not have access to other users home directories, so you can't do it as yourself, only a privileged user.

XavierP 08-28-2008 03:14 PM

Fred, I've split off your post into this thread

Woodsman 08-28-2008 03:29 PM

Perhaps the following might help:

A Backup Strategy

chess 08-28-2008 05:30 PM

+1 on rsnapshot. I love that tool and that's an excellent writeup, Woodsman.

shadowsnipes 08-30-2008 10:09 PM

I'll have to check out rsnapshot. Thanks for the info on that. For now, though, I am extremely happy with my custom rsync backup script that I use. I actually use it to backup all of my important linux and windows files incrementally. It logs everything as well and can do dry runs. I usually do a dry run, check the log to see the changes over the past week, reorganize/delete files as desired, and then run the real backup. Someday I intend to change the script so that the backup locations and configurations are in an array (ie. cut down on code size and make it quicker to customize the script for various machiens).


All times are GMT -5. The time now is 02:02 PM.