Backup script example #2
Replies: 5 comments 1 reply
-
Hello @cod3rshotout, Add Let me know if you got it working. |
Beta Was this translation helpful? Give feedback.
-
@evertramos Thanks for the tip, after two question I get: ? question Do you want to send to backup storage? ✔ success Function 'confirm_user_action' ✔ success Function 'confirm_user_action' what I need to do? Thanks |
Beta Was this translation helpful? Give feedback.
-
nice! You need to configure the sftp server here: server-automation/.env.example Line 80 in 22fcb94 I would suggest try backup locally and then send it to ftp server. |
Beta Was this translation helpful? Give feedback.
-
How can I test the backup locally? Could you show an example please? |
Beta Was this translation helpful? Give feedback.
-
Sure! Using Easy-Server and NGINX-proxy-automationIn the helper cd /server-automation/backup
./backup.sh --yes Then your backup files would be in /server/backup Server-Automation onlyIf you are running server-automation in your own setup you would run: cd /server-automation/backup
mkdir -p ~/backup
./backup.sh -s /path_where_your_sites_are -d ~/backup --all-sites --yes This will backup all folders, inside ´/path_where_your_sites_are /path_where_your_sites_are
--/site1
--/site2
--/site3
~/backup
--/site1-20220308_00000.tar.gz
--/site2-20220308_00000.tar.gz
--/site3-20220308_00000.tar.gz hope it helps! |
Beta Was this translation helpful? Give feedback.
-
Hi, I would like to use the
server-automation
to automatize the database backup of all my containers (wordpress and other apps).I have cloned the repository and then within the cloned directory I changed the
.env
file setting the home path.When I execute this command:
./backup.sh
I get:I also noticed that the youtube video is outdate and the wiki link point to a 404.
Could you please help me to configure this?
Beta Was this translation helpful? Give feedback.
All reactions