LuckyBackup as root between 2 computers on a home LAN
by shimonl from LinuxQuestions.org on (#5R9JN)
Hi,
My desktop PC has multiple users.
I run LB nightly (cron) as root, with tasks which back up home data to an external backup drive. A task for /home/shimon/Documents, one for /Pictures, for /home/mrs-shimon/Documents, etc.
My daughter uses a separate desktop PC, on the same LAN (the ADSL wifi+wired router).
I am not managing to get LuckyBackup (or actually, I guess rsync in the background) to backup her data to the external drive. It has a /backups/LuckyBackup folder with subfolders /shimon (including /Documents, /Pictures), /mrs-shimon, with subfolders by backup source, etc.
So, on her computer I also want the backup to be running from root, since, as I understand things, that would be the only way to write to the <backup drive>/backups/LuckyBackup/daughter/Documents folder.
I have found a few people online who say they have managed to do this, e.g. @pizzipie (at this post ) who says Quote:
but I can't find exact steps to follow. (I would have sent a PM to @pizzipie but I can't find such a function here on LQ).
My current command in LB is:Code:rsync -h --progress --stats -r -tgo -p -l -D --update --protect-args --password-file=/root/********* /home/daughter/Documents/ root@10.X.X.X::/backups/LuckyBackup/Daughter/Running that just now I got:
Quote:
I am attaching an image of the "Remote" page of LB for this job.
Thank you for any help!
Shimon
Attached Thumbnails
My desktop PC has multiple users.
I run LB nightly (cron) as root, with tasks which back up home data to an external backup drive. A task for /home/shimon/Documents, one for /Pictures, for /home/mrs-shimon/Documents, etc.
My daughter uses a separate desktop PC, on the same LAN (the ADSL wifi+wired router).
I am not managing to get LuckyBackup (or actually, I guess rsync in the background) to backup her data to the external drive. It has a /backups/LuckyBackup folder with subfolders /shimon (including /Documents, /Pictures), /mrs-shimon, with subfolders by backup source, etc.
So, on her computer I also want the backup to be running from root, since, as I understand things, that would be the only way to write to the <backup drive>/backups/LuckyBackup/daughter/Documents folder.
I have found a few people online who say they have managed to do this, e.g. @pizzipie (at this post ) who says Quote:
My experience is limited to transferring files within my LAN. I have used 'rsync', luckyBackup (which uses 'rsync' and which I learned about 'rsync' from) |
My current command in LB is:Code:rsync -h --progress --stats -r -tgo -p -l -D --update --protect-args --password-file=/root/********* /home/daughter/Documents/ root@10.X.X.X::/backups/LuckyBackup/Daughter/Running that just now I got:
Quote:
ERROR: The remote path must start with a module name not a / rsync error: error starting client-server protocol (code 5) at main.c(1657) [sender=3.1.3] |
Thank you for any help!
Shimon
Attached Thumbnails