Use SSH Keys, Cron and Rsync to Automatically Backup a Linux PC to a Synology NAS!

preview_player
Показать описание

This tutorial shows you how you can use SSH Keys and Cron to automatically back up a Linux PC to a Synology NAS! DISCLAIMER: The information in this video has been self-taught through years of technical tinkering. While we do our best to provide accurate, useful information, we make no guarantee that our viewers will achieve the same level of success. WunderTech does not assume liability nor responsibility to any person or entity with respect to damage caused directly or indirectly from its content or associated media. Use at your own risk.

WunderTech is a trade name of WunderTech, LLC.
Рекомендации по теме
Комментарии
Автор

Awesome tutorial! Thank you!!! I have Synology Drive Client setup to backup my Linux Mint HTPC but I'd prefer to use rsync. I think there's less overhead with it. I just got that setup. Thanks again!! I also subbed to your channel.

drummerboyj
Автор

In your crontab entry, you used ~. But if you try that with the explicit rysnc command just in the command line, that doesn't run. You have to use /.

Is there a difference of using ~ vs / when you make the crontab entry? I couldn't find documentation on that.

iConkr
Автор

Bro, your awesome
i have tried same method AWS and digital ocean . its working fine

i have query

Now i am trying to do With AWS to AWS server
I am facing issue to add key can you suggest me how add key ?

Автор

How do I undo everything in this tutorial (long story, basically put it under the wrong user)? Is there a way to delete the ssh keys or some other way to roll back the changes I made in this tutorial?

mygoogle
Автор

Isn't it possible to start the backup from the synology nas?

steven
Автор

OMG. I was doing so well until it got to the CRON thing, that's when the trouble started.. I havent been able to get past that. My Ubuntu 20.1 has an automated backup, which I also dont know much about, in fact as a new user I have to find where the settings are, so is it possible to configure the Synology NAS 718+ to be used as the backup and how do I do that now that CRON has stalled my other attempt?

pipiper
Автор

is this a standard way to do automated backups? i guess what i'm asking is, is this a secure way to do things or is it risky?

i know if you use key pairs for ssh access it's secure, but if someone gets your private key file and it has no passphrase protecting it, they gain instant access to any system with the private key's public key.

i'm not here to lecture about it, i'm here to ask if this is a standard thing people do in IT (key pairs with no passphrase for specific use of automated backups using rsync)?

i'm setting up my webhosting account to backup out to a different location and found that my webhosting account usually only allows you to whitelist a single IP for ssh access. i was able to give them my VPS' IP which lets me automate backups with rsync. if I didn't have a VPS this wouldn't be doable as my home IP changes all the time.

cabji
Автор

i faced this Problem Bro "Permission denied, please try again."

ahmedezz
Автор

im getting permission denied:


Could not chdir to home directory /var/services/homes/user: No such file or directory
sh: line 0: cd: /var/services/homes/user: No such file or directory
mkdir: cannot create directory '.ssh': Permission denied

austinanderson