justintime
New Member
Registered: Aug 2002
Location: Kearney, NE
Posts: 3 |
Rsync help needed
After fogetting to set the filesystem back to readonly before rebooting, I found I had a bad backup, and had to restore my Tivo to it's original 1.3 single drive setup as of 2 years ago. Two days of hacking, and it's almost back to where it was. Time for a backup procedure...
I've worked with rsync before, but it's include/exclude pattern matching still eludes me. I get it to work with enough tweaking, but I usually don't know *why* it works.
My goal is to backup /etc/rc.d/rc.sysinit /etc/rc.d/rc.sysinit.author, and anything at all below /var/hack/. I get the two files in /etc/ fine, but anytime I add a wildcard to the include file, it bombs out with "Illegal Instruction".
Below is the command issued from the TiVo:
code: rsync -avrz --include-from=/var/hack/scripts/rsync.include --password-file=/var/hack/scripts/.rsync_password / tivo@xxx.xxx.xxx.xxx::tivo/
My /var/hack/scripts/rsync.include file contains:
code: /etc/
/etc/rc.d/
/etc/rc.d/rc.sysinit
/etc/rc.d/rc.sysinit.author
/var/
/var/hack/
/var/hack/*
- *
I've tried variations of the include file, but anytime I use the wildcard, it bombs out.
Any pointers??
__________________
Justin
POST #1 | Report this post to a moderator
| IP: Logged
|