mirror of
https://github.com/bashclub/miyagi-pbs-zfs.git
synced 2025-12-06 09:28:44 +00:00
Update pbs-zfs-daily.sh
pveconf from postinstaller included
This commit is contained in:
@@ -13,7 +13,8 @@ done
|
|||||||
|
|
||||||
source $configfile
|
source $configfile
|
||||||
|
|
||||||
ssh root@$SOURCEHOST zfs set $ZPUSHTAG=subvols $ZFSROOT
|
ssh root@$SOURCEHOST zfs set $ZPUSHTAG=all $ZFSROOT
|
||||||
|
ssh root@$SOURCEHOST zfs set $ZPUSHTAG=all rpool/pveconf #you have to use our postinstaller on source
|
||||||
|
|
||||||
echo "target=$ZFSTRGT" > /etc/bashclub/$SOURCEHOST.conf
|
echo "target=$ZFSTRGT" > /etc/bashclub/$SOURCEHOST.conf
|
||||||
echo "source=root@$SOURCEHOST" >> /etc/bashclub/$SOURCEHOST.conf
|
echo "source=root@$SOURCEHOST" >> /etc/bashclub/$SOURCEHOST.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user