Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-28-2008, 01:51 PM
|
#1
|
|
Member
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron & Salix 14
Posts: 939
Rep:
|
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.
|
|
|
|
08-28-2008, 01:56 PM
|
#2
|
|
Guru
Registered: Jan 2001
Posts: 24,128
Rep: 
|
Quote:
Originally Posted by FredGSanford
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.
|
|
|
|
08-28-2008, 03:14 PM
|
#3
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
Fred, I've split off your post into this thread
|
|
|
|
08-28-2008, 03:29 PM
|
#4
|
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 2,955
|
Perhaps the following might help:
A Backup Strategy
|
|
|
|
08-28-2008, 05:30 PM
|
#5
|
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 609
Rep: 
|
+1 on rsnapshot. I love that tool and that's an excellent writeup, Woodsman.
|
|
|
|
08-30-2008, 10:09 PM
|
#6
|
|
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,439
Rep:
|
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 |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:30 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|