Quantcast
Channel: GIT as a backup tool - Server Fault
Browsing latest articles
Browse All 18 View Live

Answer by ArMD for GIT as a backup tool

Wrote about a simple way to do this: backup-org-files-in-githubThis works for files that are not collaborated upon, in my case - emacs org files. I used cron to periodically do a git commit, git push.

View Article



Answer by Andrew for GIT as a backup tool

It would work somewhat, but two caveats.File additions will not be picked up automatically when you do the commit. Use --porcelean om git status to find new stuff to add before doing the commit.Why the...

View Article

Answer by rfmoz for GIT as a backup tool

It is a approach that is used, it makes sense.Keepconf use rsync and git for this job, it's a wrapper over this tools for keep the thing easy.You only need a central server with ssh-keys configured for...

View Article

Answer by shodanshok for GIT as a backup tool

I once developped a backup solution based on subversion. While it worked quite well (and git should work even better), I think there are better solutions out here. I consider rsnapshot to be one of the...

View Article

Answer by user64141 for GIT as a backup tool

I use git as a backup for my Windows system, and it's been incredibly useful. At the bottom of the post, I show the scripts I use to configure on a Windows system. Using git as a backup for any system...

View Article


Answer by Matthew Cornell for GIT as a backup tool

I am extremely new to git, but aren't branches local by default, and must be pushed explicitly to remote repositories? This was an unpleasant and unexpected surprise. After all, don't I want all of my...

View Article

Answer by mcantsin for GIT as a backup tool

You might want to check out bup on github which was designed to serve the purpose of using git for backup.

View Article

Answer by Daniel for GIT as a backup tool

I had the same idea to backup with git, basically because it allows versioned backups. Then I saw rdiff-backup, which provides that functionality (and much more). It has a really nice user interface...

View Article


Answer by larsks for GIT as a backup tool

You're not a silly person. Using git as a backup mechanism can be attractive, and despite what other folks have said, git works just fine with binary files. Read this page from the Git Book for more...

View Article


Answer by Tim Brigham for GIT as a backup tool

I found this to be a good methodology for my dev boxes. It changes them from being something that needs to be backed up to only a deployment endpoint. All the configuration and package installation...

View Article

Answer by Phil Hannent for GIT as a backup tool

Whilst technically you could do this I would put two caveats against it:1, You are using a source version control system for binary data. You are therefore using it for something that it was not...

View Article

Answer by FMaz008 for GIT as a backup tool

Well it's not a bad idea, but I think there is 2 red flags to be raised:If the harddisk fail, you'll lose everything if you're not pushing your commit to another server/drive. ( Event if you've a plan...

View Article

Answer by Sirex for GIT as a backup tool

My personal opinion is that this is basically all backwards. You're pushing the files into a backup solution, rather than pulling them out. Much better would be to centralise the configuration of the...

View Article


Answer by stew for GIT as a backup tool

I've not used it, but you might look at bup which is a backup tool based on git.

View Article

Answer by Scott Keck-Warren for GIT as a backup tool

I haven't tried it with a full system but I'm using it for my MySQL backups (with the --skip-extended-insert option) and it has really worked well for me.You're going to run into problem with binary...

View Article


Answer by Stone for GIT as a backup tool

It can be a valid backup solution, etckeeper is based on this idea. But keep an eye on the .git directory permissions otherwise pushing /etc/shadow can be readable in the .git directory.

View Article

GIT as a backup tool

On a server, install gitcd /git initgit add .git commit -a -m "Yes, this is server"Then get /.git/ to point to a network drive (SAN, NFS, Samba whatever) or different disk. Use a cron job every...

View Article


Answer by User167234 for GIT as a backup tool

If it works for your use case, it can be a very powerful tool to debug any run time issues. So, you can go back in history and see when the problem in your system started and what was the last change...

View Article
Browsing latest articles
Browse All 18 View Live




Latest Images