S
sentur
So I'm going round and round in circles and not getting anywhere.
I'm trying to to get duply to back up a whole load of folders across my hdd starting at / to a backup NAS that I have in my LAN. I want this to be automated and run rough cron so obviously need to use a keychain and ssh-keyless login so that when duply uses ssh and rsync to copy the data across to the backup NAS it's not held up asking for a password login.
What I'm getting in a pickle with is that in order to backup all the files via duply I need to run the command with root privileges otherwise it fails because it can't access files using the normal user. But whenever I generate ssh-key it generates it in my ~/.ssh dir which root won't have access to. And I'm guessing its a security risk to have root with a ssh-key?
I'd really appreciate some help with the best way to get this backup solution working as so far I've not had much luck finding a solution.
Continue reading...
I'm trying to to get duply to back up a whole load of folders across my hdd starting at / to a backup NAS that I have in my LAN. I want this to be automated and run rough cron so obviously need to use a keychain and ssh-keyless login so that when duply uses ssh and rsync to copy the data across to the backup NAS it's not held up asking for a password login.
What I'm getting in a pickle with is that in order to backup all the files via duply I need to run the command with root privileges otherwise it fails because it can't access files using the normal user. But whenever I generate ssh-key it generates it in my ~/.ssh dir which root won't have access to. And I'm guessing its a security risk to have root with a ssh-key?
I'd really appreciate some help with the best way to get this backup solution working as so far I've not had much luck finding a solution.
Continue reading...