]> git.proxmox.com Git - pve-zsync.git/log
pve-zsync.git
8 years agoremove now unnecessary if($disk)
Wolfgang Bumiller [Mon, 28 Sep 2015 09:40:07 +0000 (11:40 +0200)]
remove now unnecessary if($disk)

8 years agoregex deduplication
Wolfgang Bumiller [Mon, 28 Sep 2015 09:40:06 +0000 (11:40 +0200)]
regex deduplication

8 years agoreplace $is_disk with an early check
Wolfgang Bumiller [Mon, 28 Sep 2015 09:40:05 +0000 (11:40 +0200)]
replace $is_disk with an early check

8 years agocheck for 'cdrom/none' storage early
Wolfgang Bumiller [Mon, 28 Sep 2015 09:40:04 +0000 (11:40 +0200)]
check for 'cdrom/none' storage early

8 years agoAvoid 'no such file' error when no state exists.
Wolfgang Bumiller [Mon, 28 Sep 2015 09:40:03 +0000 (11:40 +0200)]
Avoid 'no such file' error when no state exists.

8 years agotypo fix: exsits -> exists
Wolfgang Bumiller [Mon, 28 Sep 2015 09:40:02 +0000 (11:40 +0200)]
typo fix: exsits -> exists

8 years agobump version to 1.6-1
Dietmar Maurer [Fri, 18 Sep 2015 14:18:54 +0000 (16:18 +0200)]
bump version to 1.6-1

8 years agobump version 1.5-2
Wolfgang Link [Fri, 12 Jun 2015 09:52:09 +0000 (11:52 +0200)]
bump version 1.5-2

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agoUpdate man
Wolfgang Link [Fri, 12 Jun 2015 09:52:08 +0000 (11:52 +0200)]
Update man

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agoChange behavior at error
Wolfgang Link [Fri, 12 Jun 2015 09:52:07 +0000 (11:52 +0200)]
Change behavior at error

Now if an error occurs, the job will not stopped.
It will continue and send emails so long the error is gone or somebody stopped it.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agofix incremental sync
Wolfgang Link [Thu, 11 Jun 2015 12:22:30 +0000 (14:22 +0200)]
fix incremental sync

wrong snapshot where be used.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agocode cleanup and man
Wolfgang Link [Thu, 11 Jun 2015 12:22:27 +0000 (14:22 +0200)]
code cleanup and man

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agoset RELEASE=3.4
Dietmar Maurer [Tue, 2 Jun 2015 06:10:58 +0000 (08:10 +0200)]
set RELEASE=3.4

8 years agoChanging config and state!
Wolfgang Link [Mon, 1 Jun 2015 14:23:04 +0000 (16:23 +0200)]
Changing config and state!

Now there is only one state file /var/lib/$PROGNAME/sync_state and the config is in the crontab.
Also there is no interval any more. you have to set it yourself in crontab.

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agocode clean up
Wolfgang Link [Mon, 1 Jun 2015 14:23:03 +0000 (16:23 +0200)]
code clean up

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
8 years agoto ensure the speed limit and some other features serialize the script
Wolfgang Link [Tue, 19 May 2015 05:02:54 +0000 (07:02 +0200)]
to ensure the speed limit and some other features serialize the script

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