IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
A 'waiting' state is introduced and other 'waiting' and 'syncing'
instances of the same job are now detected by moving the check out
from the sync lock.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Previously inside sync we just called update_job directly, now
we make sure to read the latest verison of the job first.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This introduces a new locked() mechanism allowing to enclose locked
sections in a cleaner way. There's only two types of locks namely one
for state and cron (they are always read together and almost always
written together) and one for sync.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
this allows the config dir to be set on the destination target. this can
be useful if the default path in $CONFIG_PATH (/var/lib/pve-zsync) is not
persistent. the option is optional and falls back to $CONFIG_PATH if not
specified.
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
our GetOPts definition of it does not defines a value, so use it as
boolean flag like 'verbose' and either pass ther param or not.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Add properties flag for including the properties in the send stream.
With the flag, we do not break the current behavior and give the user
who like to sync their properties the possibility to do so.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
no need to make a call to ls if we just can check directly..
also remove a (possible problematic)
> my $foo = 'bar' if $boolean;
construct
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
source user and destination user can be specified with -source-user and
-dest-user, root is chosen if none is specified, -source-user is invalid
for VMs as source
requires zfs permissions on source and destination target
destination dataset has to be created already but not mounted
move command synopsis help into the "known command" hash
use that to generalise parameter checking, printing help and
generating POD synopsis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
add a hidden command which prints the POD of pve-zsync, reusing the
documentation for pve-zsync help CMD
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>