LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-28-2008, 01:51 PM   #1
FredGSanford
Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron & Salix 14
Posts: 943
Blog Entries: 5

Rep: Reputation: 88
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.
 
Old 08-28-2008, 01:56 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

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

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.
 
Old 08-28-2008, 03:14 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

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

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

A Backup Strategy
 
Old 08-28-2008, 05:30 PM   #5
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 728

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

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


Reply


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 07:01 AM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 03:40 PM
backup with rsync muhammednavas Linux - Networking 4 12-01-2006 06:58 AM
Using rsync to backup data. Best way to backup folders? Micro420 Linux - General 2 11-23-2006 01:13 AM
rsync backup... tarballed Linux - Networking 10 06-27-2003 10:43 AM


All times are GMT -5. The time now is 05:32 AM.

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