/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/ganeti/migrate-lxc/5-lxc-rsync-snapshot.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 316 - (show annotations)
Thu Apr 24 07:26:24 2014 UTC (10 years ago) by dpavlin
File MIME type: application/x-sh
File size: 184 byte(s)
split master and storage node, support machines with dash in name

1 #!/bin/sh -x
2
3 . ./0-host.sh
4 . ./0-lxc.sh
5 . ./0-ganeti.sh
6
7 ssh_lxc rsync -ravH --numeric-ids --sparse --delete --exclude /tmp --exclude /var/tmp /tmp/ganeti-$host/ $storage:/tmp/$host/

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26