diff --git a/README.md b/README.md index 306b3b4..e6e22ba 100644 --- a/README.md +++ b/README.md @@ -103,20 +103,22 @@ it means that the service is still running or another service is using that bus My scripts generate a logfile in working directory which you can check, every 10 min there will be a status message, with actual values and so on. -# Backup - -You can insert a SD card with FAT32 filesystem, or a blank one and format it with the GX device itself. - -Simply add to cron following command, to copy data folder with some exceptions for node-red node modules every day at 2 am -`crontab -e` -`0 2 * * * /usr/bin/rsync rsync -rlptD --progress --exclude /data/home/nodered/.cache/ --exclude /data/home/nodered/.npm --exclude /data/home/nodered/.node-red/node_modules /data /run/media/mmcblk0p1/data-backup` - #### Restart the script If you want to restart the script, for example after changing it, kill running script The daemon-tools will restart the scriptwithin a few seconds. +# Backup + +You can insert a SD card with FAT32 filesystem, or a blank one and format it with the GX device itself. + +Simply add to cron following command, to copy data folder with some exceptions for node-red node modules every day at 2 am + +`crontab -e` + +`0 2 * * * /usr/bin/rsync rsync -rlptD --progress --exclude /data/home/nodered/.cache/ --exclude /data/home/nodered/.npm --exclude /data/home/nodered/.node-red/node_modules /data /run/media/mmcblk0p1/data-backup` + ### Sources Used https://github.com/victronenergy/velib_python/blob/master/dbusdummyservice.py as basis for my custom services.