add mirror-gogs
This commit is contained in:
parent
f591d8e2f1
commit
4c0e45ce64
|
@ -0,0 +1,17 @@
|
|||
none:
|
||||
./update.pl --dry-run manifest
|
||||
|
||||
all:
|
||||
./update.pl rsync
|
||||
./update.pl gogs
|
||||
./update.pl manifest
|
||||
|
||||
# backs up everything
|
||||
rsync:
|
||||
./update.pl rsync
|
||||
|
||||
gogs:
|
||||
./update.pl gogs
|
||||
|
||||
manifest:
|
||||
./update.pl manifest
|
|
@ -51,7 +51,7 @@ $basedir = `pwd`;
|
|||
chomp $basedir;
|
||||
|
||||
if ($ARGV[0] eq "rsync") {
|
||||
my_system("tar -c --use-compress-program=pigz -f archive.gogs.$STAMP.tgz mirrored-gogs/git/gogs-repositories/");
|
||||
my_system("tar -c --use-compress-program=pigz -f archive.$STAMP.gogs.tgz mirrored-gogs/git/gogs-repositories/");
|
||||
|
||||
my_system("rsync -av --progress --delete vm10:/var/lib/kubelet/plugins/kubernetes.io/rbd/mounts/kube-pool-image-kubernetes-dynamic-pvc-7a6428c8-376e-11e8-85ad-0a580af40662/ mirrored-gogs/");
|
||||
my_system("rsync -av --progress --delete mirrored-gogs/git/gogs-repositories/ gitweb:/var/lib/git/gogs/");
|
Loading…
Reference in New Issue