We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here is what I started for the backup / move script I suggested to add 2 variable for storage to the environment:
`["$server_storage/backup:/var/backup/"] or ["$shared_storage/backup:/var/www/"]` > ### Initial Installation only, execute Backup Script inside the Container before shutting down > volumes: ["/data/panel/backup:/var/backup/"] > ### Make Data persistent, execute Move Script on host before starting containers > # volumes: ["/data/panel/backup/:/var/backup/", "/data/panel/var/lib/amavis/:/var/lib/amavis/","/data/panel/etc/amavis/:/etc/amavis/", "/data/panel/etc/letsencrypt/:/etc/letsencrypt/", "/data/panel/etc/apache2/sites-available/:/etc/apache2/sites-available/", "/data/panel/etc/apache2/sites-enabled/:/etc/apache2/sites-enabled/", "/data/panel/usr/local/ispconfig/:/usr/local/ispconfig/", "/data/panel/etc/cron.d/:/etc/cron.d/", "/data/panel/etc/bind/:/etc/bind/", "/data/panel/var/vmail/:/var/vmail/", "/data/panel/var/www:/var/www/"]
Backup script on container
cp -r --parents /var/lib/amavis/ /var/backup/ cp -r --parents /etc/amavis/ /var/backup/ cp -r --parents /etc/letsencrypt/ /var/backup/ cp -r --parents /etc/apache2/sites-available/ /var/backup/ cp -r --parents /etc/apache2/sites-enabled/ /var/backup/ cp -r --parents /usr/local/ispconfig/ /var/backup/ cp -r --parents /etc/cron.d/ /var/backup/ cp -r --parents /etc/bind/ /var/backup/ cp -r --parents /var/vmail/ /var/backup/ cp -r --parents /var/www/ /var/backup/
On host move script
cd /data/panel/backup/ sudo cp -r --parents var/lib/amavis/ /data/panel/ sudo cp -r --parents etc/amavis/ /data/panel/ sudo cp -r --parents etc/letsencrypt/ /data/panel/ sudo cp -r --parents etc/apache2/sites-available/ /data/panel/ sudo cp -r --parents etc/apache2/sites-enabled/ /data/panel/ sudo cp -r --parents usr/local/ispconfig/ /data/panel/ sudo cp -r --parents etc/cron.d/ /data/panel/ sudo cp -r --parents etc/bind/ /data/panel/ sudo cp -r --parents var/vmail/ /data/panel/ sudo cp -r --parents var/www/ /data/panel/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is what I started for the backup / move script
I suggested to add 2 variable for storage to the environment:
Backup script on container
On host move script
The text was updated successfully, but these errors were encountered: