

bin/rm: cannot remove ‘/tmp/telegram_scripts_20201028100108\r.tar.gz\r’: No such file or directory bin/rm: cannot remove ‘/tmp/domoticz_scripts_20201028100108\r.tar.gz\r’: No such file or directory bin/rm: cannot remove ‘/tmp/domoticz_20201028100108\r.db.gz\r\r’: No such file or directory '!b.gzCan't open '/tmp/domoticz_20201028100108Ĭurl: try 'curl -help' or 'curl -manual' for more information Tar: /home/pi/tg/scripts/\r: Cannot stat: No such file or directory Tar: Removing leading `/' from member names Tar: Exiting with failure status due to previous errors Tar: /home/pi/domoticz/scripts/\r: Cannot stat: No such file or directory

Sudo: unable to execute /home/pi/domoticz/scripts/domoticz_backup.sh: No such file or directoryĬode: Select all tar: Removing leading `/' from member names Sudo /home/pi/domoticz/scripts/domoticz_backup.sh I save this script at: /home/pi/domoticz/scripts whit the name domoticz_backup.sh Tar -zcvf /tmp/telegram_scripts_$ /home/pi/tg/scripts/Ĭurl -s -disable-epsv -v -T"/tmp/$BACKUPFILEGZ" -u"$USERNAME:$PASSWORD" "ftp://$SERVER/$DESTDIRNAS"Ĭurl -s -disable-epsv -v -T"/tmp/domoticz_scripts_$" -u"$USERNAME:$PASSWORD" "ftp://$SERVER/$DESTDIRNAS"Ĭurl -s -disable-epsv -v -T"/tmp/telegram_scripts_$" -u"$USERNAME:$PASSWORD" "ftp://$SERVER/$DESTDIRNAS" Tar -zcvf /tmp/domoticz_scripts_$ /home/pi/domoticz/scripts/
#Synology drive backup password
PASSWORD="12345" # FTP password of Network disk used for ftpĭESTDIR=" /tmp/" # used for temorarily storageĭESTDIRNAS="/homes/domoticz/backup/" # Path to your Synology NAS backup folderīACKUPFILE="domoticz_$TIMESTAMP.db" # backups will be named "domoticz_YYYYMMDDHHMMSS.db.gz" USERNAME="Domoticz" # FTP username of Network disk used for ftp SERVER="192.168.1.11" # IP of Synology NAS, used for ftp This helps avoid any potential data loss in the event of a device failure.# 20201028 Modified to replace CR/LF (windows) to LF (Linux) Re-enter your NAS IP address and login credentials.Īs with all data, it’s best to have a further backup of all your important memories on an external drive, as well as the NAS.Enter in the NAS IP address (including port) and your login credentials.

Your Synology NAS can be used to store photos and videos from your mobile devices, freeing up space on them and allowing you to stream media to various devices.
#Synology drive backup how to
How to backup a smartphone to Synology NAS If you fear drive failures, I recommend picking up the best NAS drives to ensure your backed-up data is safe.
#Synology drive backup Pc
Confirm everything and choose Save settings and run backup.īy saving restore points externally, you’ll be able to apply them to a Windows PC should it encounter issues.Choose whether or not you want Windows to handle everything.Hit Browse and choose a location on the NAS.If you want yet more data backed up, use Backup and Restore. File History will let you set up schedules as well as what folders to copy across. This is great if you somehow manage to accidentally delete an important file or your PC drive completely fails. (It’s a good idea to add a dedicated folder.)įile History will back up all your files and save them to the NAS. Hit Windows Key + Q to bring up the search.Here’s how to configure Windows to backup using your Synology NAS: You don’t require the best NAS to set up backups on your Windows PC. How to backup a Windows PC to Synology NAS

I’m going to show you exactly how in this guide. Your Synology NAS is a perfect tool to store backups and it’s super simple to set everything up and have it run automatically. Creating backup copies of your devices is incredibly important if you don’t want to lose any data.
