====== Backup Solutions ====== Feb 15 20:22:49 fishtank kernel: ------------[ cut here ]------------ Feb 15 20:22:49 fishtank kernel: nfsd: non-standard errno: -38 Feb 15 20:22:49 fishtank kernel: WARNING: CPU: 2 PID: 3542 at fs/nfsd/nfsproc.c:889 nfserrno+0x45/0x51 [nfsd] Feb 15 20:22:49 fishtank kernel: Modules linked in: rpcsec_gss_krb5 xfs nfsd auth_rpcgss oid_registry lockd grace sunrpc md_mod efivarfs ip6table_filter ip6_tables iptable_filter ip_tables x_tables bridge stp llc bonding tls i915 x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul crc32c_intel iosf_mbi ghash_clmulni_intel drm_buddy i2c_algo_bit aesni_intel gigabyte_wmi ttm crypto_simd i2c_i801 cryptd wmi_bmof intel_wmi_thunderbolt rapl intel_cstate intel_uncore e1000e i2c_smbus nvme nvme_core drm_display_helper drm_kms_helper ahci libahci drm intel_gtt mpt3sas agpgart i2c_core syscopyarea raid_class sysfillrect sysimgblt fb_sys_fops scsi_transport_sas thermal fan wmi video backlight acpi_tad acpi_pad button unix Feb 15 20:22:49 fishtank kernel: CPU: 2 PID: 3542 Comm: nfsd Not tainted 5.19.17-Unraid #2 Feb 15 20:22:49 fishtank kernel: Hardware name: Gigabyte Technology Co., Ltd. B460MD3H/B460M D3H, BIOS F4 08/28/2020 Feb 15 20:22:49 fishtank kernel: RIP: 0010:nfserrno+0x45/0x51 [nfsd] Feb 15 20:22:49 fishtank kernel: Code: c3 cc cc cc cc 48 ff c0 48 83 f8 26 75 e0 80 3d bb 47 05 00 00 75 15 48 c7 c7 17 14 8d a0 c6 05 ab 47 05 00 01 e8 42 97 f7 e0 <0f> 0b b8 00 00 00 05 c3 cc cc cc cc 48 83 ec 18 31 c9 ba ff 07 00 Feb 15 20:22:49 fishtank kernel: RSP: 0018:ffffc9000070bdc0 EFLAGS: 00010282 Feb 15 20:22:49 fishtank kernel: RAX: 0000000000000000 RBX: ffff8881040881a0 RCX: 0000000000000027 Feb 15 20:22:49 fishtank kernel: RDX: 0000000000000001 RSI: ffffffff820d7be1 RDI: 00000000ffffffff Feb 15 20:22:49 fishtank kernel: RBP: ffff888104088030 R08: 0000000000000000 R09: ffffffff82244bd0 Feb 15 20:22:49 fishtank kernel: R10: 00007fffffffffff R11: ffffffff8287714d R12: ffff8881e1ef66c0 Feb 15 20:22:49 fishtank kernel: R13: ffff888103fec000 R14: 00000000ffffffda R15: ffff88831762ed80 Feb 15 20:22:49 fishtank kernel: FS: 0000000000000000(0000) GS:ffff8884af500000(0000) knlGS:0000000000000000 Feb 15 20:22:49 fishtank kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 15 20:22:49 fishtank kernel: CR2: 000015055e4ad820 CR3: 000000000420a003 CR4: 00000000003706e0 Feb 15 20:22:49 fishtank kernel: Call Trace: Feb 15 20:22:49 fishtank kernel: Feb 15 20:22:49 fishtank kernel: nfsd_link+0x15f/0x1a5 [nfsd] Feb 15 20:22:49 fishtank kernel: nfsd4_link+0x20/0x3e [nfsd] Feb 15 20:22:49 fishtank kernel: nfsd4_proc_compound+0x434/0x56c [nfsd] Feb 15 20:22:49 fishtank kernel: nfsd_dispatch+0x1a6/0x262 [nfsd] Feb 15 20:22:49 fishtank kernel: svc_process+0x3ee/0x5d6 [sunrpc] Feb 15 20:22:49 fishtank kernel: ? nfsd_svc+0x2b6/0x2b6 [nfsd] Feb 15 20:22:49 fishtank kernel: ? nfsd_shutdown_threads+0x5b/0x5b [nfsd] Feb 15 20:22:49 fishtank kernel: nfsd+0xd5/0x155 [nfsd] Feb 15 20:22:49 fishtank kernel: kthread+0xe4/0xef Feb 15 20:22:49 fishtank kernel: ? kthread_complete_and_exit+0x1b/0x1b Feb 15 20:22:49 fishtank kernel: ret_from_fork+0x1f/0x30 Feb 15 20:22:49 fishtank kernel: Feb 15 20:22:49 fishtank kernel: ---[ end trace 0000000000000000 ]--- ==== PC ==== Since Timeshift does not support external hard drives or network location, some other solutions are being tested. The goal is to create backups to the NAS, preferably incremental and with deduplication. === Borg === Installed borg through ''pamac install borg'' (official Arch/Manjaro repo). First step was to initialise the backup repo on the target remote - using NFS share on unraid NAS for this, mounted to /mnt/nfs/fishtank/pcbackup: Tested backup command: [chris@bender-22 ~]$ borg create -v --dry-run --exclude-caches --exclude '/home/*/.cache/*' --exclude '/var/tmp/*' --exclude '/home/*/.local/*' /mnt/nfs/fishtank/pcbackup::'{hostname}-{now}' /home /root /var For some reason this would hang for what feels like infinity when used on only slightly larger sources. However, the real command works normally: [chris@bender-22 ~]$ borg create --show-rc --stats --list --filter=Ed --progress --exclude-caches --exclude '/home/*/.cache/*' --exclude '/var/tmp/*' --exclude '/home/*/.local/*' --exclude '/home/chris/OneDrive/*' --exclude '/home/chris/nastydrive/*' --exclude '/home/chris/Downloads/qbt/*' --exclude '/var/log/*' --exclude '/var/cache/*' --exclude '/home/.ipfs/*' /mnt/nfs/fishtank/pcbackup::'{hostname}-{now}' /home /root /var > borg-$(hostname)-$(date +%Y%m%d-%H%M%S%Z).log 2>&1 Monitor log file using ''tail -f'' You can interrupt running syncs, but be aware it might take a while until the process actually stops. FIXME explain borg break lock, borg chek --repair and borg delete --cache-only FIXME explain warning confidential info might remain if hardlinking not supported -> manually delete remnants of repo