[mythtv-users] restore from rsync

Anthony Giggins seven at seven.dorksville.net
Tue Feb 3 00:45:42 UTC 2015


On 3 February 2015 at 10:24, Daryl McDonald <darylangela at gmail.com> wrote:

> Greetings Mythizens, as a result of my DB problems I'm wondering if I can
> overwrite my / directory with a backup I made by following this wiki:
> https://wiki.archlinux.org/index.php/full_system_backup_with_rsync I also
> have a DB backup that I could restore through MCC (which doesn't work in
> current setup) and be up and running again? If this is a good idea how
> would I go about accomplishing it?
> My OS is on a separate 32 Gb SSD and recordings etc go to two 1TB drives,
> rsync is on a flash drive as well as on one of the storage drives.
>
> TIA  Daryl
>
>
> yeah you should be able to do this fairly easily

 I've used the following command to rsync backup one host to another, you
should be able to restore a rsync backup in a the similar way

/usr/bin/rsync --exclude=/proc --exclude=/lost+found --exclude=/mnt
--exclude=/sys --exclude=/dev --exclude=/boot --exclude=/etc/fstab -e ssh
-vazvH / root at hostname

if its local you should not need the -e ssh

ie. something like
/usr/bin/rsync --exclude=/proc --exclude=/lost+found --exclude=/mnt
--exclude=/sys --exclude=/dev --exclude=/boot --exclude=/etc/fstab -vazvH
<source path> <destination path>


Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150203/8ea082d1/attachment.html>


More information about the mythtv-users mailing list