News for hackers. Stuff that matters.
Re:Gmvault: Backup and restore your Gmail account by jdc0589 on Friday November 18, 2016 @10:33AM (#12987405)
I am actively trying to get off of dropbox. I really want a similar native application experience that syncs to-and-from S3. Not a cron job using the s3 cli, not something that only works on osx/windows/etc... So far owncloud enterprise is the only polished looking solution I've found, but thats a bit overkill...
Re:Gmvault: Backup and restore your Gmail account by ReAzem on Friday November 18, 2016 @11:00AM (#12987633)
You are looking for Syncany: https://www.syncany.org/

But really, you may not need S3 at all and just sync between your devices with Syncthing: https://syncthing.net/

Shameless plug: Syncthing is in official Debian repositories! https://tracker.debian.org/pkg/syncthing

Re:Gmvault: Backup and restore your Gmail account by mooneater on Friday November 18, 2016 @03:28PM (#12989813)
"The core team of Syncany is on hiatus for an indefinite amount of time. Feel free to do with the code what the license allows and encourages, but please don't expect any maintenance"

Not feasible to use this for critical infrastructure if there is no maintenance happening.

Re:Gmvault: Backup and restore your Gmail account by mahyarm on Friday November 18, 2016 @04:37PM (#12990286)
How have you found syncthing perf? When I tried it a while back the perf was horrible. It ate CPU and was pretty slow, even though I was just testing with 2 machines on my local network.
Re:Gmvault: Backup and restore your Gmail account by ReAzem on Monday November 21, 2016 @03:33PM (#13008933)
This was improved recently with 14.0.7:

- https://github.com/syncthing/syncthing/releases/tag/v0.14.7

Also, It will improve further with File System Notifications (from what I understand?):

- https://github.com/syncthing/syncthing/pull/2807

Re:Gmvault: Backup and restore your Gmail account by favadi on Saturday November 19, 2016 @04:12AM (#12992670)
It's still slow and use lots of CPU.
Re:Gmvault: Backup and restore your Gmail account by Drdrdrq on Saturday November 19, 2016 @12:51AM (#12992281)
Thanks, Syncthing looks like exactly what I was looking for! I'm guessing it needs some external server for coordination? It seems a bit unnecessary to restart after each config chsnge, is there some technical reason for it? Nice job otherwise, will try it out.
Re:Gmvault: Backup and restore your Gmail account by ReAzem on Tuesday November 22, 2016 @01:00PM (#13015960)
Yes, it needs an exernal server.

By default, Syncthing is pre-configured with community-hosted discovery servers:

- https://github.com/syncthing/syncthing/blob/master/lib/confi...

The community also hosts relay servers, so if your two devices can't communicate with eachother directly, it will work anyway.

Relay servers take bandwidth. Anyone can run a relay server, and it will automatically join the relay pool and be available to Syncthing users. This is documented here:

- https://docs.syncthing.net/users/strelaysrv.html#strelaysrv

It would also be possible to host your own private relay and discovery pools, if you need that for some reason.

Re:Gmvault: Backup and restore your Gmail account by mahyarm on Friday November 18, 2016 @04:33PM (#12990255)
I use amazon cloud drive unlimited $60/yr and arq backup to have client side encrypted backups. I also arq backup to my local NAS.

If you want to use an open source tool you can use borg backup & rsync.net as your external backup site. Borg doesn't have good S3 integration, and using fuse & s3 doesn't work that well either. It works best when the borg daemon is on the reciever box too to help with indexing and such.

http://www.rsync.net/products/attic.html

Re:Gmvault: Backup and restore your Gmail account by rsync on Friday November 18, 2016 @06:35PM (#12990938)
Interesting you mention this ...

There's a big item on one of my whiteboards: "put gmvault into the environment" ... the idea being that you could run 'gmvault', over SSH, on rsync.net:

ssh [email protected] gmvault ... blah blah ...

I've been meaning to do this forever ... it would be great if rsync.net customers could not install anything, but just run gmvault as an ssh command.

The only reason it takes time is that we do not have a python interpreter in our environment - we try to keep things as simple and locked down as possible - which means we have to "freeze" gmvault as a binary executable in order to put it into place ...

So ... folks want this ?

Re:Gmvault: Backup and restore your Gmail account by fapjacks on Friday November 18, 2016 @01:47PM (#12989080)
Please don't use OwnCloud. It eats your files and cost us loads of time and effort, in addition to sowing FUD among my office coworkers, who thought someone was deleting files from the shared/sync drive. Plus it doesn't support delta sync [0], so if (for example) you're syncing large files like (for example) True/VeraCrypt volumes, you're going to be pushing a lot of data around. This is especially awful since you're not doing this on a LAN but to S3, which means your raw cost in dollars for operating this software will be much much larger than with another solution like SyncThing or Seafile which does support delta sync.

[0] https://owncloud.org/faq/#partialsyncing

Re:Gmvault: Backup and restore your Gmail account by distances on Friday November 18, 2016 @03:18PM (#12989755)
ownCloud, or nowadays NextCloud [1], is still the best solution I have, hosted on a private virtual server. It's not a drop-in replacement for sure -- I'm basically prepared to do a full clean reinstall each time I want to upgrade -- but they have desktop and Android clients, and it's working just fine. Of course, I also have a separate backup of all the files.

[1] https://nextcloud.com

Re:Gmvault: Backup and restore your Gmail account by FatalBaboon on Wednesday November 23, 2016 @06:26PM (#13026645)
I did an extensive lookup of dropbox alternatives last year, and ended up self-hosting seafile. Multiple family members use it and it works great, plus encryption built-in from day one (me not being able to read their stuff is critical to me). There has been no outage, and upgrades are easy.
Re:Gmvault: Backup and restore your Gmail account by mda590 on Friday November 18, 2016 @10:51AM (#12987543)
You may want to have a look at odrive (https://www.odrive.com). Use it to sync a bunch of different storage accounts via this single app. Works alright for what it does, and they have an S3 option.
Re:Gmvault: Backup and restore your Gmail account by adrianN on Friday November 18, 2016 @11:14AM (#12987743)
How about Tarsnap?
Re:Gmvault: Backup and restore your Gmail account by x1798DE on Friday November 18, 2016 @10:44AM (#12987494)
I've been using syncthing and I'm reasonably pleased with it. I don't use it heavily and only over my local network, though, so I'm not sure how well it handles archiving changes and file conflicts.
Re:Gmvault: Backup and restore your Gmail account by shade23 on Friday November 18, 2016 @10:51AM (#12987544)
Won't forklift serve your purpose?