LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2009, 06:46 AM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Is this possible or am I tripping again?


Mornin, banging some Slayer, slurping coffee, and it's already 4:21! and now I got a dumb question...

I write alot of fiction, etc and sometimes, like an idiot, I write something while I'm grooving on Ubuntu, then later I may switch to Slack and write something else.
Well, somehow I lost a nice story on Ubuntu-either deleted it or I don't know, but it's gone.

My question is complicated- Is it possible to have a Central BackUp folder; so that whenever I create ANY text file in any directory (home, Desktop,etc) it "automagically" creates a backup in this folder?
Not across partitions, but within it's partition?

So, I'm in Ubuntu, at the desktop, I open Gedit and start cranking out some prose, when done I save it to the Desktop and a backup gets sent to
CentralBackup folder automatically.
Can that be done no matter where I tell it to save to-it creates a second one and puts it in the backup folder-you dig?
Thanks and Positive Waves Man
 
Old 05-19-2009, 07:13 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Why don't you have a separate partition for your data (including your writings)mounted under both distros? IMO it's much more handy. Then you could create a cron job and to check the contents of your writings directory every 10 minutes and synchronise it with a separate backup directory using eg. rsync. There might be better solutions, though

Last edited by sycamorex; 05-19-2009 at 07:15 AM.
 
Old 05-19-2009, 07:13 AM   #3
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 308

Rep: Reputation: 39
Best option would be to rsync your home folder via cron on a 10 minute cycle or something like that, IMO. Either that or script something to look for new files and put a copy in this specified directory and also call that from cron.

I've not seen anything else that can ghost copy the way you are asking.
 
Old 05-19-2009, 07:18 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Normally Gedit creates a backupfile (filename~) if you edit a file that already exist.
In the preferences you can set to create a backup of the file you are using, every x minutes.

However, you can create a cronjob, to backup certain files
 
Old 05-19-2009, 07:25 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Flyback or timevault can simplify configuring a backup of your data.. uses rsync and standard tools to take data snapshots of your system.

http://flyback-project.org/
https://wiki.ubuntu.com/TimeVault
http://blog.interlinked.org/tutorial...e_machine.html
 
Old 05-19-2009, 07:32 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Awesome-I knew you guys would know!

Now, what is "cron" and "rsync"? ( I am a newbie guys )
and thanks alot too.
 
Old 05-19-2009, 07:34 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Now, what is "cron" and "rsync"? ( I am a newbie guys )
Ever tried google ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Road-Tripping With Linux LXer Syndicated Linux News 0 11-06-2008 11:10 PM
tripping firewall rate limit, false positive? scattered Linux - Networking 1 09-19-2008 04:23 AM
Linux policy routing issue (am I tripping over a kernel bug?) bjsilva1 Linux - Networking 1 08-28-2008 05:05 AM
Eye of Gnome Image View taking 100% CPU and tripping my thermal sensor MikeyCarter Linux - Software 5 04-28-2008 09:03 AM
Tripping on tripwire? 3inone Linux - Security 3 03-20-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration