| 626 | |
| 627 | == Q39/ Can I use other network protocol than NFS for backup/restore ? == |
| 628 | |
| 629 | Since version 2.2.9, mondoarchive needs a new option to provide the protocol type to be used for network backup/restore. If for example you want to use sshfs as a communication mean, you need first to add support for that fuse based filesystem to your distribution, then use that protocol in mondoarchive CLI. Following example is for a RHEL 5 based machine: |
| 630 | {{{ |
| 631 | wget http://dl.atrpms.net/all/fuse-kmdl-2.6.18-128.7.1.el5-2.7.4-8_12.el5.x86_64.rpm |
| 632 | wget http://dl.atrpms.net/all/fuse-libs-2.7.4-8_12.el5.x86_64.rpm |
| 633 | wget http://dl.atrpms.net/all/fuse-2.7.4-8_12.el5.x86_64.rpm |
| 634 | wget http://dag.wieers.com/rpm/packages/fuse-sshfs/fuse-sshfs-1.9-1.el5.rf.x86_64.rpm |
| 635 | wget ftp://ftp.pbone.net/mirror/ftp.centos.org/5.3/updates/x86_64/RPMS/kernel-2.6.18-128.7.1.el5.x86_64.rpm |
| 636 | rpm -ivh fuse-sshfs-1.9-1.el5.rf.x86_64.rpm fuse-2.7.4-8_12.el5.x86_64.rpm fuse-libs-2.7.4-8_12.el5.x86_64.rpm fuse-kmdl-2.6.18-128.7.1.el5-2.7.4-8_12.el5.x86_64.rpm kernel-2.6.18-128.7.1.el5.x86_64.rpm |
| 637 | reboot |
| 638 | }}} |
| 639 | |
| 640 | Once you're on the new kernel with the right modules, issue for example: |
| 641 | {{{ |
| 642 | sshfs user@server:/mondo /mnt/mondo |
| 643 | /usr/sbin/mondoarchive -O -N -g -n sshfs://user@server:/mondo -d iso -s 4300m -T /writer/mondo/tmp -S /writer/mondo/scratch -p rhel-mondo |
| 644 | }}} |
| 645 | At restore time, the new as of 2.2.9 start-netfs script will setup the sshfs mount bak and you'll then be able to restore from it. |