]> git.proxmox.com Git - pve-zsync.git/log
pve-zsync.git
9 years agoinsert new function enable and disable
Wolfgang Link [Tue, 19 May 2015 05:02:53 +0000 (07:02 +0200)]
insert new function enable and disable

this function you are able to stop and start a scheduled job.
also for better handling change cron_add,cron_del to write_to_cron

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agoremove cron entry if sync-job failed and move cron EVN setting
Wolfgang Link [Tue, 19 May 2015 05:02:52 +0000 (07:02 +0200)]
remove cron entry if sync-job failed and move cron EVN setting

If a Sync-job crash it should stop trying to sync until somebody checked it.
moving the cron EVN to the code is necessary to prevent at updating that the file will be over written.
rename delete_corn to delete_configs
the function also deletes the config entry

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agorename locked in status what is set in pve-zsync.cfg file
Wolfgang Link [Tue, 19 May 2015 05:02:51 +0000 (07:02 +0200)]
rename locked in status what is set in pve-zsync.cfg file

so we can different more states for error handling and maintenance.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agomove send_config to pervert more then 1 config per sync
Wolfgang Link [Tue, 19 May 2015 05:02:50 +0000 (07:02 +0200)]
move send_config to pervert more then 1 config per sync

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agoinsert check if disk is no zvol
Wolfgang Link [Tue, 19 May 2015 05:02:49 +0000 (07:02 +0200)]
insert check if disk is no zvol

this was before implemented wrong

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agofix in cron_del multiple deletion and correct timestamp for deletion config
Wolfgang Link [Tue, 19 May 2015 05:02:48 +0000 (07:02 +0200)]
fix in cron_del multiple deletion and correct timestamp for deletion config

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agoadd missing close for FH, also catch and handle exception.
Wolfgang Link [Tue, 19 May 2015 05:02:47 +0000 (07:02 +0200)]
add missing close for FH, also catch and handle exception.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agosort all outputs and config files by source and name
Wolfgang Link [Tue, 19 May 2015 05:02:46 +0000 (07:02 +0200)]
sort all outputs and config files by source and name

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agoCode clean up and rename Debian packet name.
Wolfgang Link [Tue, 19 May 2015 05:02:45 +0000 (07:02 +0200)]
Code clean up and rename Debian packet name.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
9 years agoInitial Project
Wolfgang Link [Wed, 6 May 2015 09:45:10 +0000 (11:45 +0200)]
Initial Project