cronopete icon indicating copy to clipboard operation
cronopete copied to clipboard

Cannot backup to NAS

Open bnlawrence opened this issue 8 years ago • 28 comments

I have network attached disk available for backup, but I cannot select it because I am only shown physical disks other than my system disk. This would be absolutely suitable target. I'm guessing you're parsing fstab to find suitable targets, I think you could look for nfs mounts, and allow those.

bnlawrence avatar Mar 01 '17 12:03 bnlawrence

I will evaluate it; the big problem is to ensure that the NAS supports hard links (not all NAS support them), because it is a must for cronopete.

rastersoft avatar Mar 01 '17 12:03 rastersoft

That's a fair point. I'm not sure how you could know without some sort of internal test, it's not visible in the mount (afaik). Maybe you should wait to see if anyone else is keen on having this capability. At this point I'm having other problems which need resolution before I worry about this (which might be that I'm using Linux Mint Mate, which I note you don't support).

bnlawrence avatar Mar 01 '17 20:03 bnlawrence

Linux Mint, AFAIK, is based on Ubuntu, so the ubuntu packages should be fine.

rastersoft avatar Mar 01 '17 23:03 rastersoft

I'd love to give cronopete a try and replace my own script (which is really geared towards headless servers) with this GUI backup solution for my laptop. As it stands I am using an encrpyted disk image on a drive mounted via cifs from a fileserver at the office and thus cannot use cronopete.

Please re-evaluate this feature request, to add network drives or really any arbitrary mounted filesystems (LUKS in my case) to the disk selection. Checking for hardlink capability could be as easy as creating a temporary one and then deleting it, or just checking for the filesystem (extX, xfs, btrfs, zfs etc.) und mapping against a hardcoded list of valid entries, so from my naive point of view this shouldn't be a blocker.

Thank you!

florianbeer avatar Jul 20 '17 07:07 florianbeer

Hello

I just found this software and would also like to backup to my NAS :(

Deuchnord avatar Jul 20 '17 09:07 Deuchnord

Helle, I find this software today and I would also backup to my NAS. I install the Xhenial on Zesty with the build-in install and that works. I still work with Fedora and Debian. The NAS advantage : it's always connected. Thank you for your work.

jhc58 avatar Aug 23 '17 14:08 jhc58

Hi!

Thanks. Unfortunately, I'm still evaluating how to do backups in a portable and reliable way to NAS.

El mié, 23 de ago 2017 a las 4:39 PM, Jean-Henri Colleye [email protected] escribió:

Helle, I find this software today and I would also backup to my NAS. I install the Xhenial on Zesty with the build-in install and that works. I still work with Fedora and Debian. The NAS advantage : it's always connected. Thank you for your work.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

rastersoft avatar Aug 23 '17 18:08 rastersoft

I would also be interested in this feature. Thanks for the work :)

LeCalicot avatar Aug 28 '17 11:08 LeCalicot

It would be a super useful feature! Any way to trick the app to believe that a NAS disk is a USB drive and make it work somehow? :)

ddnexus avatar Sep 14 '17 05:09 ddnexus

Just found something that might work but I know nothing about: https://bbs.archlinux.org/viewtopic.php?id=179573 How could I try that?

ddnexus avatar Sep 14 '17 05:09 ddnexus

Should be really usefull to backup on sshfs / smbfs nice job at the beginning, should be a interesting project to follow :+1:

didlawowo avatar Sep 14 '17 18:09 didlawowo

Hello, first of all : thanks ! I also heard about Cronopete recently, installed it on my Arch Linux and found that my NAS could not be use as a target. I think that because my NAS is a Synology, running a linux based OS, and the HDD inside in EXT4, the hard link could be supported. Don't you think ?

nathanael-h avatar Sep 17 '17 21:09 nathanael-h

+1

fullofcaffeine avatar Nov 04 '17 19:11 fullofcaffeine

Any progress? What about at least allowing the user to check by himself/herself and at least try at his/her own risk? I mean, instead of blocking the feature for all NAS because you are searching a reliable way to check about the hard links, what about allowing the feature for all NAS, just warning the user that it might not work and need to be checked?

ddnexus avatar Nov 16 '17 08:11 ddnexus

Answers anyone?

ddnexus avatar Mar 04 '18 05:03 ddnexus

Currently I'm refactoring cronopete's code, to separate the backend and the frontend. The new backend uses Rsync internally, and I want to add support for several backends, so maybe in a month or so there will be a version able to do backups to remote NAS.

rastersoft avatar Mar 04 '18 11:03 rastersoft

That's great! Thank you for your answer, and keep up the good work!

ddnexus avatar Mar 04 '18 11:03 ddnexus

I saw you made many commits recently... could you start any development in the NAS direction?

ddnexus avatar Apr 30 '18 12:04 ddnexus

I'll try, but since I don't have a NAS, I will need some help to ensure that it works...

rastersoft avatar Apr 30 '18 15:04 rastersoft

I will do my best to help! Just tell me what to do.

ddnexus avatar Apr 30 '18 15:04 ddnexus

I can also help with testing on QNAP NAS

bilak avatar May 25 '18 14:05 bilak

First, I need the "rsync" parameters to do a backup to a NAS, using hard links...

rastersoft avatar May 25 '18 14:05 rastersoft

could something like this help?

bilak avatar May 25 '18 15:05 bilak

That seems to not use hard links to do the backups...

rastersoft avatar May 25 '18 15:05 rastersoft

What about creating a QCOW or similar in the NAS, and backup into the QCOW as the filesystem will support hard links? Isn't this similar to what TM does?

jpbarraca avatar Jul 05 '18 00:07 jpbarraca

Hi,

Just adding my voice of support here.

I recently installed cronopete in Linux Mint 19, and attempted to start backups to a NAS by using the "folder" option. My NAS server (ZFS on Linux running on an Debian Jessie server, with file systems shared over NFS) has a folder permanently mounted via /etc/fstab. I pointed cronopete's folder option at the mount point, and have not had much success. Cronopete looks like it is doing something (spinning indicator in taskbar) but looking at system monitor there is no network traffic, and after 48 hours of waiting there is only 24.2MB of data in the cronopete folder on the NAS server.

Clicking through the cronopete folder on the NAS it appears to have transferred some of the /home/user folder, but most folders are empty. Maybe this is due to a lack of support for hardlinks? I'm not sure if hardlinks would work in this setup.

Anyway, I just wanted to share my success (or lack thereof)

Keep up the good work, this looks like an excellent piece of software, and I will definitely use it and would be happy to donate once I get NAS support working.

--Matt

mattlach avatar Sep 08 '18 22:09 mattlach

Hard links are a must currently, so that's probably why it doesn't work.

BTW, the code repository has been migrated to gitlab.

rastersoft avatar Sep 08 '18 22:09 rastersoft

Hi everyone,

As I wrote on GitLab, I solved this Problem by mounting my NAS via ssh to a folder on my Computer and backing up into that folder. Like this it works like a charm :)

Dorian

dorianim avatar Sep 20 '18 20:09 dorianim