-
-
Notifications
You must be signed in to change notification settings - Fork 268
First step to support new ftpfs BACKUP_URL #859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First step to support new ftpfs BACKUP_URL #859
Conversation
…caracters in new ftpfs BACKUP_URL (issue#845)
|
@gdha In particular I like that you have a look at my |
| fi | ||
|
|
||
| # include required modules, like nfs cifs ... | ||
| # FIXME: the code below includes modules for all non-empty schemes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jsmeix this must been seen as a catch all rule (as you never know what you could miss)
…because ftpfs (via CurlFtpFS) is based on FUSE (issue#845)
|
With latest commits I improved it as follows: In global-functions.sh I ensure the fuse kernel module In 05_check_NETFS_requirements.sh FYI: BACKUP_URL=ftpfs://[email protected]/rear the password is requested multiple times. Three times for "rear mkbackup" # rear -d -D mkbackup ... Using log file: /var/log/rear/rear-d26.log Enter host password for user 'rear': Creating disk layout ... Creating initramfs Enter host password for user 'rear': Making ISO image ... Copying resulting files to ftpfs location Enter host password for user 'rear': Encrypting disabled Creating tar archive... ... Archived 916 MiB in 1678 seconds [avg 559 KiB/sec] Two times for "rear recover" # rear -d -D recover ... Using log file: /var/log/rear/rear-d26.log insmod /lib/modules/3.12.51-60.25-default/kernel/fs/fuse/fuse.ko Enter host password for user 'rear': NOTICE: Will do driver migration ... Disk layout created. Enter host password for user 'rear': Decrypting disabled Restoring from ... ... Restored 2393 MiB in 38 seconds [avg 64490 KiB/sec] But all in all it now works sufficiently well for me as a |
See #845
I tested it on SLE12 x86_64 kvm/qemu virtual machine
with BIOS and this /etc/rear/local.conf:
The currently supported ftpfs BACKUP_URL syntax is
where password is optional.
The only missing piece for me is that
in the rear recovery system one must
manually load the fuse kernel module with
because otherwise "rear recover" aborts with
At least for me the backup via curlftpfs is
very much slower than the backup via NFS.
For backup via NFS "rear mkbackup" reports
while in contrast for backup via curlftpfs "rear mkbackup" reports
But the restore via curlftpfs is as fast as via NFS.
For restore via curlftpfs "rear recover" reports