1-download repository
2-create \BackUpApp
folder
3-copy projects.py
and sql.py
file in \BackUpApp
foder
4-create \BackUpApp\sql
folder
5-create \BackUpApp\projects
folder
6-projects must be in \domains
folder
7-edit db
and ftp
details in projects.py
and sql.py
8-install cron job
9-crontab -e
10-add * 1 * * * /usr/bin/python3 /BackUpApp/sql.py > /BackUpApp/log.txt
11-add * 1 * * * /usr/bin/python3 /BackUpApp/projects.py > /BackUpApp/log_projects.txt
12-systemctl restart cron
-
Notifications
You must be signed in to change notification settings - Fork 0
Ahmadrezagh/Autobackup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published