Skip to content

didiatworkz/Synology-FTP-Backup-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Synology FTP Backup Script

image1

With this script it is possible to create an FTP backup of a web server and archive it directly on the Synology NAS.

How to use

Goto the Task Manager in the settings menu

step1


Create a new task as root user

step2


Copy the script into the textarea and change the variables

step3


Variables

_HOSTNAME="customer.myserver.tld"
_USERLOGIN="username"
_PASSWORD="password"

_BACKUP_NAME="MyBackupJob"
_REMOTE_DIR="path/to/dir"
_LOCAL_DIR="/volume1/Backup"
_REMOVE_DAYS="30"

Features

The script automatically creates all required folders and files. It also checks that the log files are not larger than 50MB. If the files are larger, they will be moved. It is checked whether there are older backups and these are deleted if necessary, so that the NAS does not run out of hard disk space.

Caution

I don't take over any liability for possible damages which caused by the script!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages