- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Home backup project
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2006 07:49 AM
тАО02-28-2006 07:49 AM
Re: Home backup project
Now I have come up with a possible command to try and I would like to bounce it off of all of you and see what sticks and what stinks.
According to the info I read (36 or so printed pages from the I-net link provided above) I think I want to run a command line of
rsync -caKWi -delete-during /home/{user} /path/to/nfs_mounted/backup/directory/
Now, each host has nfs mounts for the fileserver. Based on this fact, I think I could even get rid of the -W option if I read the defaults correctly.
Question: If I am pointing the rsync command at two 'local' directories even if the destination is truly an nfs mount, I really won't have to worry about the ssh or any other remote connection, right?
Does anybody see a flaw in this command or line of thinking that they would like to share?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2006 12:04 AM
тАО03-01-2006 12:04 AM
Re: Home backup project
And yes. Because you're using NFS, you don't have to worry about the '-e ssh' or anything like that. It's all treated 'local'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2006 07:05 PM
тАО03-06-2006 07:05 PM
Re: Home backup project
The rsync worked just as you all said it would.
All I have to do now it put it into a cron for her user and we are off to the races.
One more question before I close this thread off (if I may be so bold):
When I ran the command that I last listed here as my own home cooked version, everything passed through just as I would have expected with one glaring exception.
The last line that was shown from the command output was:
rsync error: some files could not be transferred (code 23) at main.c(789)
Now I am sure that I have simply overlooked something, but I am not seeing where this output was listed in the info that was on the site linked above or anywhere else.
Can somebody give me a clue as to what most likely went wrong and what (if anything) can or should be done to resolve it in the future?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2006 11:59 PM
тАО03-06-2006 11:59 PM
Re: Home backup project
I like Stuart's first exapmle.
I'm however trying to get it done with rsync and found a useful link.
http://oldmill.uchicago.edu/~wilder/Security/rsync/
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2006 04:35 PM
тАО03-07-2006 04:35 PM
Re: Home backup project
Also have a look at the following:
http://rsnapshot.org/faq.html
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2006 05:28 AM
тАО03-08-2006 05:28 AM
Re: Home backup project
Thanks for the link. Gives one ideas on how to script it out if they wish. Good info on firewalls and some other quirks as well.
Unfortunately, no information found there pertaining to the errors I see at the end of each run.
Yogeeraj,
Interesting thought. If it would have come in first, perhaps I would have gone that way. As it is, I think I will be happy with the rsync solution for my needs. As always, I still appreciate your input.
Still searching for the reason it would tell me that some files could not be copied. If anybody has a hint on where I overlooked that at, I would still be grateful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2006 01:01 AM
тАО03-09-2006 01:01 AM
Re: Home backup project
As far as my last questions regarding why there were constant error messages about files that could not be copied, I found I was the one shooting myself in the foot with that one. I was running the command line under a regular user logon, not root. Once it was run using the root account, all was good and happy in rsync land.
Footnote for anybody else considering this as an option for his or her own network(s):
I included an option in my command line that adds an extra level of comparison between the files being copied and the existing files (refer to the info pages linked above for more intimate details on the options). While this is a good thing if you want to be as thorough as possible, it does GREATLY lengthen the time it takes to actually perform the operation.
I would strongly suggest that you read the options available for rsync and perhaps do several test runs to see which ones work best for your particular environment. It is very likely that my choice of options will not be what you would want.
The other options that were provided also look promising and I am sure that they would work wonderfully in the right environment. I do not want to discount them at all. Personally, I am glad that this is my thread. For this reason, I know that I will never loose the information on these other possible resources. In another environment, they may very well be a better choice.
Many thanks to you all for all the wonderful input and the patience you have shown.
I still say this is the absolute BEST user forum on the face of this planet!
- « Previous
-
- 1
- 2
- Next »