Move backup location of mysqldump to volume
Unsolved
Support
-
Problem:
I have a very large msqldump file (matomo) that is getting created when a backup is done. This is crashing my system eventually (disk full)
I have added an external disk to the instance and followed the very fine instructions to move the appdata location. This worked perfectly with no issues!BUT the original yellowtent folder still contains a config.json file AND the large mysqldump. I just ran a full backup manually and it updated the file in the original location!
How do I redirect the location of this backup creation?
I need to figure this out soon.
Thanks a lot. -
@stevespaw you can symlink the /home/yellowtent/appsdata/appid to some external disk . Something like:
Stop the app mv /home/yellowtent/appsdata/appid /mnt/volume/ ln -s /mnt/volume/appid /home/yellowtent/appsdata/appid Start the app
Have a backup before you do this
-