How to consolidate data between OES Linux servers as Consolidation Tools is currently not compatible with OES Linux sources.
The consolidation will be done by associating the Novell provided nbackup tool with ssh and remote command execution.
nbackup will gather the data from NSS using tsafs, and keep trustees, compression, IRF ... and write the result on the default output.
: nbackup -U eDirectoryUser -P password -cf "/media/nss/VOL1/folder" |
nbackup output will be redirected to an ssh client that will compress, transport, and feed them to a remote server. ssh will be used to run a remote instance of nbackup.
The remote nbackup will be in charge of getting the data from the source server and writing the data to the tsafs restoring trustees, compression and IRF.
: | ssh -C remote.dns.server "nbackup -U eDirUser -P password -x"
The final data flow is the following:
tsafs -> nbackup -> ssh <------> sshd -> nbackup -> tsafs
From one server to a remote server in the same folder with compression:
/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxx -cv /media/nss/VOL1/groups/myfolder | ssh -C remote.dns.server "/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxxx -x"
From one server to a remote server in a different folder with compression:
/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxx -cv /media/nss/VOL1/groups/myfolder | ssh -C remote.dns.server "/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxxx -r \"/media/nss/VOL1/groups/myfolder /media/nss/VOL1/an/other/folder\" -x"
On the same server from one folder to another:
/opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxx -cv /media/nss/VOL1/groups/myfolder | /opt/novell/sms/bin/nbackup -U .admin.novell -P xxxxxx -r "/media/nss/VOL1/groups/myfolder /media/nss/VOL2/an/other/folder" -x
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.