Schedule backup of Asset store and Log folders
Cron job is very helptul to automate the routine tasks in Linux. Using Cron job Dspace user can take regular backup and deposit in an assigned folder. No need to find time for manual backup.
Open Applications > Accessories > Terminal
sudo su
crontab -e
It will ask to select an editor to open crontab, select nano editor.
Copy paste following two lines at the end of crontab,
45 16 * * * zip -r /home/dspace/backup/assetstore.zip /dspace/assetstore
45 16 * * * zip -r /home/dspace/backup/log.zip /dspace/log
Cron job is very helptul to automate the routine tasks in Linux. Using Cron job Dspace user can take regular backup and deposit in an assigned folder. No need to find time for manual backup.
Open Applications > Accessories > Terminal
sudo su
crontab -e
It will ask to select an editor to open crontab, select nano editor.
Copy paste following two lines at the end of crontab,
45 16 * * * zip -r /home/dspace/backup/assetstore.zip /dspace/assetstore
45 16 * * * zip -r /home/dspace/backup/log.zip /dspace/log
Above command will take backup of assetstore and log folders at evening 4:45 pm. You can change the timing.