-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
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
How to backup and restore freescout #2568
Comments
As FS is very lightweigth you can just make a copy of the FS file directory (e.g. /var/www/html/ or whereever your installation is (in this folder there are all the config files and also the module files, etc.). In addition, you can make a database export (e.g. via mysql dump). Then you can zip/tar the two parts of FS and transfer them to a location of your choice. We automated this via a crontab on our ubuntu server to make a backup everyday. Restore can be done the same way, just move/copy the backup files to the location of your "broken" installation and override all the files. Then do a sql dump in the other direction and FS is up. (When you restore on another server you also have to make sure the requirements such as php are matching and the webserver is configured correctly (here you could also make a copy of the apache/nginx file and transfer it)) Hope this helps you little bit. |
@pf248 thanks for helping out. |
Perhaps this issue can live on as a discussion. OLD TOPIC: Add a button inside FreeScout for performing backup and restore NEW TOPIC: Create a documentation to post at https://github.com/freescout-helpdesk/freescout/wiki (under CONFIGURATION) of how to perform a backup/restore This should be compatible with the default, first-option recommend installation instructions at https://github.com/freescout-helpdesk/freescout/wiki/Installation-Guide |
@freescout-helpdesk Yes as mentioned by @fulldecent in the future please implement backup and restore feature it is a must, i cannot even backup the sql as i don't have the password saved, until then please make official documentation how to use msql dump cmd and save |
@pf248 pf248 Thank you |
@aj-saini Yes, of course. I took the backup & restore scripts from here: https://codeberg.org/DecaTec/Wordpress-Backup-Restore It is for wordpress, but you can just change the parameters in the shell scripts to your data (like db-user, password, path to the installation, backup directory, etc.). It is all described in the files, quite easy. The backup script does a copy of the installation directory and also a sql datebase dump. You can control how many backups you want to keep and the backup script automatically deletes all backups older then a specific amount (e.g. keep the last 10 backups). Then you just set up a crontab on your ubuntu system to execute the backup.sh (e.g. every night at 1:00). Command could be sth like:
The backup.sh must be executable for this, you can do this via chmod +x. Hope this helps you a bit. |
Why is the documentation for backup so poor? The documenation is forwarding to an external wordpress backup script which has to be edited to get it working. There is nothing for docker to backup. Why not a backup modul that connects over SFTP, SSH, WEBDAV, RSYNC, RCLONE, BORG, BORGMATIC etc.. ? |
Agreed a freescout backup module with scheduling and remote SFTP, FTP, S3 storage options would be great. |
Hello i am changing hosting VPS provider and was wondering what are the recommended/official method for backing up everything
purchased modules, data settings etc
Thank you
The text was updated successfully, but these errors were encountered: