Skip to content

Hostemy/backup-server-linux-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

backups-linux-server

You can make full and incremental copies of your server

REQUIREMENTS

$ apt install ncftp

HOW TO USE

You must configure the following parameters to make the custom copy

You will enter the folders you want to copy.

DIRS="/var /lib"

You must enter the data to access by FTP.

FTPU="USER-FTP"
FTPP="PASS-FTP"
FTPS="HOST-FTP"

You must add the url of the discord webhook to notify the copy.

WEBHOOK="url"

CRON JOB

To create a cron task so that the script runs every day at 24:00 PM we must do the following

crontab -e

Now we will add this line at the end of the whole

0 0 * * /router_script

START IT

$ chmod +x backup.sh
$ ./backup.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages