Welcome! » Log In » Create A New Profile

WildCards to help with Rsync memory?

Posted by Anonymous 
WildCards to help with Rsync memory?
August 16, 2007 02:20PM
Jamie Lists wrote:
Quote

I'm loving rsnapshot but we are having a few problems. We have some
directories with a ton of files in them and we're getting some errors.
I'd like to break up the backups of the home dirs so instead of

backup root < at > mvxserv.newberg.k12.or.us:/Users/ mvxserv/

we could do something like this
backup root < at > mvxserv.newberg.k12.or.us:/Users/a* mvxserv/
backup root < at > mvxserv.newberg.k12.or.us:/Users/b* mvxserv/
backup root < at > mvxserv.newberg.k12.or.us:/Users/c* mvxserv/

etc etc.

It seems that rsync or rsnapshot doesn't like this kind of
configuration. Does anyone have any ideas?
I don't believe rsync supports it, which means that rsnapshot doesn't
either. The normal way to cope with such large numbers of users is to
break user home directories into groups like ...

.../a/alice
.../a/andrew
.../b/billy
.../b/bob
.../c/catherine
.../c/charles

and so on, and then you'd have a backup line like this:

backup root < at > mvxserv.newberg.k12.or.su:/Users/a mvxserv/

for each letter of the alphabet. You can probably combine uncommon
letters, or ranges like a-d, e-i, j-whatever.

--
David Cantrell | Reality Engineer, Ministry of Information

Deck of Cards: $1.29.
"101 Solitaire Variations" book: $6.59.
Cheap replacement for the one thing Windows is good at: priceless
-- Shane Lazarus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> [get.splunk.com]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
WildCards to help with Rsync memory?
August 15, 2007 05:18PM
I'm loving rsnapshot but we are having a few problems. We have some
directories with a ton of files in them and we're getting some errors.

I'd like to break up the backups of the home dirs so instead of

backup root < at > mvxserv.newberg.k12.or.us:/Users/ mvxserv/

we could do something like this
backup root < at > mvxserv.newberg.k12.or.us:/Users/a* mvxserv/
backup root < at > mvxserv.newberg.k12.or.us:/Users/b* mvxserv/
backup root < at > mvxserv.newberg.k12.or.us:/Users/c* mvxserv/

etc etc.

It seems that rsync or rsnapshot doesn't like this kind of
configuration. Does anyone have any ideas?

Thanks,
Jamie

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> [get.splunk.com]
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
[lists.sourceforge.net]
Sorry, only registered users may post in this forum.

Click here to login