Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-28-2008, 02:51 PM   #1
Senior Member
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron - Debian Testing - Salix OS
Posts: 1,051
Blog Entries: 5

Rep: Reputation: 165Reputation: 165
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?

Old 08-28-2008, 02:56 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Originally Posted by FredGSanford View Post
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?

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.
Old 08-28-2008, 04:14 PM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Fred, I've split off your post into this thread
Old 08-28-2008, 04:29 PM   #4
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Perhaps the following might help:

A Backup Strategy
Old 08-28-2008, 06:30 PM   #5
Registered: Mar 2002
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 731

Rep: Reputation: 171Reputation: 171
+1 on rsnapshot. I love that tool and that's an excellent writeup, Woodsman.
Old 08-30-2008, 11:09 PM   #6
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Rep: Reputation: 71
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).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync backup songeek Solaris / OpenSolaris 1 07-05-2007 08:01 AM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 04:40 PM
backup with rsync muhammednavas Linux - Networking 4 12-01-2006 07:58 AM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 02:13 AM
rsync backup... tarballed Linux - Networking 10 06-27-2003 11:43 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration