4
votes
1answer
47 views

“hard-linking” parts of a big file in which only a small part has changed

I use rsync to make backups: rsync -a --link-dest=PATHTO/$PREVIOUSBACKUP $SOURCE $CURRENTBACKUP This way I save space due to using hard links. The problem appears when I need to backup a huge file ...
1
vote
1answer
50 views

Symlinks and permissions in backup archives

I installed linux on another computer and I want to move my /home directory to that computer. I want to backup that directory with any file permission, symlinks etc. how should I do it? Are there any ...
0
votes
2answers
86 views

Use logrotate to store 7 daily, 4 weekly and 12 yearly db backups

I've been trying to use logrotate to store a database backup for: last 7 days (daily) last 4 weeks (weekly) last 12 months (monthly) I've done a logrotate script like this, but only the daily ...
0
votes
0answers
28 views

mount become corrupted over time

I have an external USB ntfs file system mounted to a linux server (4TB drive). Another server remotely RSYNCs a backup to this drive through the linux server. After a couple of days of this backup ...
2
votes
2answers
95 views

How to backup a running system?

I have a running Linux system, and I'd like to have a full backup of it using dd, which, in my limited knowledge is the only tool every system has. The distro doesn't matter mainly because I should ...
2
votes
2answers
83 views

Reasons for rsync NOT transfering all files?

Does anyone know common reasons for such a large deficit difference in the number of files transfered when backing up my LARGE home directory using rsync on a ubuntu 10.04 LTS setup.. machine is ...
0
votes
0answers
149 views

How to back up and restore(linux mint) all softwares and files from C drive when windows 7 boots but stops at black screen

I have Windows7(32 bit) and Linux mint 16(64 bit) dual boot computer. Windows 7 boots but stops at the black screen. But I can boot normally from mint and can access windows7 files through mint . Now ...
0
votes
3answers
127 views

How are filesystem snapshots different from simply making a copy of the files?

by doing this, # btrfs subvolume snapshot /mnt/1 /mnt/1/snapshot # tree /mnt/1 /mnt/1 ├── a ├── snapshot │ ├── a │ └── subv └── subv └── b 3 directories, 3 files We can create snapshot ...
2
votes
2answers
226 views

What is the best way to check if file has changed in Bash and keep 15 last copies of it?

What would be the best way to write a bash script and run it from cron (every hour) that: Would see if a file in a directory has changed If changed, make a copy with incrementing version number and ...
3
votes
3answers
89 views

Entries I can safely exclude doing backups

I'm planning a backup strategy based on rsnapshot. I want to do a full system backup excluding files and directories that would be useless for the restore to have a working system again. I already ...
0
votes
1answer
245 views

Backintime Linux desktop backup to a Synology DiskStation

Backintime doesn't support plain SFTP backends so it does not seem to be easy to setup a remote backup to a Synology Diskstation (in my case a DS214 with DSM 4.3). Backintime supports SSH/rsync based ...
0
votes
1answer
26 views

Yanked USB Key During Move [duplicate]

I'm using Fedora 17. I was backing up some files to a USB key. I was foolish and used the Move command instead of copy, and before the directory I was moving completed I accidentally yanked the usb ...
3
votes
3answers
163 views

Best practice to backup a LUKS encrypted device

What's the fastest method to backup and restore a luks encrypted device (e.g. a full encrypted usb-device to a image-file). The usb-device can be decrypted/accessed. I'm looking for a solution to ...
1
vote
2answers
85 views

Backing up a large file

I have a test running which crashes. I need to find out how far it reached before crashing. It will restart again after crashing and wipe the log file. This wiping takes 10 minutes though. So If I'm ...
2
votes
2answers
3k views

Setup Linux backup with Bacula and Webmin

Hi guys I'm having troubles finding a good documentation to setup an easy and possibly web oriented backup solution for one of our CentOS 5.4 file server. The things I need to accomplish are the ...
0
votes
1answer
160 views

rsync remote to local automatic backup

Because all my work is stored on a remote server I would like to auto backup my server monthly and weekly. My server is running Centos 5.5 and while searching the web I'm found a tool named rsync. I ...
3
votes
2answers
180 views

How do I refresh the magnetic state on a disks with backups?

I have a couple of large disks with backup/archive material on them. They're ext4. Regarding the ones of those that will be stored for a couple of years without reading the whole disc again I've been ...
2
votes
3answers
606 views

What's the best way to backup files via network on Linux and Solaris machines?

I wonder what the best way to backup files VIA network I have Solaris machines with Oracle 10i with VERITAS cluster, machines are connected to EMC storage /data/oracle directory is mounted on the ...
1
vote
1answer
199 views

tar -c Error Messages and Source Files?

During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
4
votes
2answers
269 views

light weight disk based backup solution

Currently I am using Dirvish to backup a handful remote machines, both Linux and Windows to local disks. But Dirvish hasn't seen any updates for many years and it has a couple of small annoyances ...
0
votes
2answers
172 views

Backup & restore from Linux to Windows while Linux is running

I have a lab with some Linux machines, some are Red Hat 5.1 machines installed on HPDL580 HW, and some are Linux installed on BLADE IBM machines. Also I have laptop computer with Windows XP. My ...
5
votes
1answer
310 views

How to merge multiple WebDAV accounts for backup?

I use davfs, aufs, rsync: sudo mount -t davfs -o uid=wd,gid=wd,dir_mode=777,rw https://wd1.wd.wd/ /mnt/webdav1 sudo mount -t davfs -o uid=wd,gid=wd,dir_mode=777,rw https://wd1.wd.wd/ /mnt/webdav2 ...
1
vote
1answer
549 views

AutoMysqlBackup --lock-tables=false

I'm trying to use AutoMysqlBackup script to perform daily backups of my application. Unfortunately on the first try it didn't served me how I thought it would. I believe that the script has used the ...
4
votes
2answers
15k views

Compress a folder with tar?

I'm trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date. This is what I have: cd /var/www && sudo tar -czf ~/www_backups $time" I am ...
4
votes
1answer
291 views

How to compare attributes of two files on Linux ext4

cmp(1) will of course tell me if the contents of two files are identical, but in order to test restoring from backups I also wanted to compare the relevant (!) file attributes. So if I did something ...
5
votes
2answers
995 views

How to create a snapshot of a physical disk?

I have Windows 7 installed on one of my disks. I want to boot this Windows system in my Xen HVM, but I do not want the changes to be permanent. So I want to create a snapshot of my Windows 7 ...
2
votes
2answers
162 views

What should I teach in my Linux class? [closed]

I'm teaching a basic Unix class using Ubuntu. We've already covered basic Unix stuff such as: bash shell scripting file and directory permissions filesystem hierarchy common commands I would like ...
4
votes
1answer
600 views

Can an eCryptfs Home Directory Be Backed Up Remotely

The main idea I want to have is a backup script run rsync to copy my /home/.Private/user directory off to another server. This would allow the backup script to have no knowledge of the data, but mean ...
3
votes
1answer
444 views

Where can I look for backup script?

I want find out where the backup script of a Fedora 8 server is. I haven't found it so far ( my Linux knowledge is very spare). I looked with crontab -l and I only can find a tempdelete.pl. Than I ...
4
votes
4answers
549 views

How can I move the entire OS to a different server?

I want to install RhodeCode on a test server at work. However, the internet access is restricted for that server, and RhodeCode has a lot of dependencies (I don't even have Python on that server). So ...
1
vote
1answer
81 views

Back up particular package and its dependencies

It may sound like a silly question, but I'm new to Linux and eager to know if there is any way to do this. Okay, my question is: can we take a backup of a particular package and its dependencies? For ...
5
votes
1answer
2k views

Creating A Bootable Backup Copy Of System Drive

I'm in charge of a Linux fileserver at my workplace, and since this fileserver holds the company's accounting data, I've got to make sure that there are backups. Right now, my main solution is based ...
5
votes
3answers
5k views

Howto read SMS stored on a SIM card?

I have an old phone with a telephone card (SIM card) inside. The telephone has an infrared interface on the side. I want to read out my contacts and stored SMS messages from the phone, either via ...
3
votes
2answers
205 views

Backup selinux system running strict

I have a cron job that is backing up a SELinux system running in strict mode. The problem is that SELinux wants to deny access to to the backup script since it wants access to every single file on the ...
1
vote
1answer
101 views

Backup, without having to reinstall 3rd party programs?

Say I back up the / partition with cpio and the disk fails. Would I have to reinstall all third party programs if I used cpio to restore the / on a new disk? Or is backing / up enough to keep them ...
3
votes
3answers
326 views

Some basic questions about dd

I'm working on a system of how to back up partitions using dd and have been reading a lot about it. I have a few questions and assumptions that I would like to ask. These may seem a little noob-ish, ...
1
vote
2answers
122 views

Use Linux to backup a MSWindows network?

Is it possible to use a Linux machine to backup everything on a Windows network? I would like to backup MS databases and also drives, so if a database record needs restoring, it can be done easily, ...
7
votes
2answers
1k views

real time backup if file changed?

Are there any linux/unix console applications similar to Yadis that would allow me to: be set up from the console backup multiple directories backup / sync in real time after the files (text files) ...
3
votes
1answer
806 views

System Backup in Fedora 14

Does anyone know how I can backup an entire system, such that if the disk drive failed, I could quickly restore the backup onto another disk? I'm running Fedora 14.
6
votes
1answer
3k views

Is NTFS under linux able to save a linux file, with its chown and chmod settings?

I'm having some doubts about how to install and allow linux to correctly read/write to a NTFS formated harddrive used as backup of various machines (windows included, that's how I need NTFS). For now ...
5
votes
3answers
2k views

Detecting that a device is mounted to a particular folder?

As part of revamping my backup scheme, I'm now adding rotating external hard drives, keeping one safely off-site at all times while the other is receiving backup data. Naturally, to ensure that my ...
1
vote
4answers
503 views

Multiple Mysql databases backup tool?

My OS is Ubuntu 10.10. I have several small sites (all on various shared hosts) and I'm thinking that it'd be probably good idea to regularly backup mysql databases from these remote shared hosts. I ...
1
vote
3answers
179 views

back-up database in Linux partition from windows partition!

Hello I am in a very embarrassing situation, I was trying to upgrade to ubuntu 10.04 from ubuntu 9.10 yesterday and while updating I forgot to put my laptop on charger and the battery ran out. Since ...
3
votes
1answer
7k views

Concept of 'mount point' while installing LINUX

While installing Linux, it asks for a 'mount point' selection. I gave it /, but I don't know the exact meaning and aim of this. Also, now I want to create one more mount point, /home in my machine ...
4
votes
3answers
15k views

How do I mount a WD MyBook World network drive in linux?

I have a WD MyBook World NAS on my home network. I currently use this for Time Machine backups for my Mac but I'd also like to use it as a backup location for my linux box which is running Ubuntu ...
3
votes
2answers
378 views

Straightforward system and file backup/restore for Linux?

After using an Ubuntu virtual machine for a while, I think I am ready to get a real, physical machine and use Ubuntu on it. Since I am still relatively new to the Linux world, is there a reliable ...
12
votes
4answers
2k views

Rock-stable filesystem for large files (backups) for linux

What filesystem would be best for backups? I'm interested primary in stability (especially uncorruptability of files during hard reboots etc.) but how efficiently it handles large (>5GB) files is also ...
32
votes
9answers
8k views

Easy incremental backups to an external hard drive

For a while I used Dirvish to do incremental backups of my machines, but it is slightly cumbersome to configure, and if you do not carry a copy of your configuration it can be hard to reproduce ...