Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Automatic Backup on /boot
#6
Hi,

Renewing the old thread.

I'm trying to automate the backup and add it to cron. Testing the backup command as explained above and by using the below code:

Code:
/var/www/util/backup_manager.py --what config cdsp playlists r_moode r_other --backup --db /var/local/www/db/moode-sqlite3.db /mnt/NAS/backup/backup_moode_$(date +%y%m%d_%H%M).zip


I get a zip file, but comparing to the backup created from the web interface seems like moodecfg.ini file is not there.
Is the moodecfg.ini file importanct for the backup? If so how can I add it to the backup zip file?

Also a "www" folder with a single json file is missing too, but seems like that json in my case is empty anyway, so I don't worry much about that.

Also seems like adding or removing db part below doesn't do much. Is it needed?
Code:
--db /var/local/www/db/moode-sqlite3.db


Many thanks.
Greg
Reply


Messages In This Thread
Automatic Backup on /boot - by UpsiUps - 08-12-2022, 07:50 AM
RE: Automatic Backup on /boot - by the_bertrum - 08-12-2022, 10:26 AM
RE: Automatic Backup on /boot - by Tim Curtis - 08-12-2022, 01:54 PM
RE: Automatic Backup on /boot - by UpsiUps - 08-12-2022, 03:10 PM
RE: Automatic Backup on /boot - by Tim Curtis - 08-12-2022, 05:09 PM
RE: Automatic Backup on /boot - by greg_m - 01-29-2024, 01:47 PM
RE: Automatic Backup on /boot - by Tim Curtis - 01-29-2024, 08:07 PM
RE: Automatic Backup on /boot - by Tim Curtis - 01-29-2024, 09:20 PM
RE: Automatic Backup on /boot - by greg_m - 01-31-2024, 12:40 PM

Forum Jump: