Backing up is the process of making copies (a backup) of data which may be used to restore the original after a data loss event.

learn more… | top users | synonyms (1)

1
vote
2answers
16 views

Include subdirectory from excluded directory in a tar archive

I have the root folder USA and sub-folders California and Texas. Texas is an excluded sub-folder but it has a specific file in it that I'd like to include in the tar backup. Let's call this file ...
1
vote
1answer
21 views

how to use dd to backup second linux hard drive from os x?

I have a MacBook with Linux installed on the primary hard drive. On an external USB 3.0 drive, I have OS X installed. The external drive has plenty of space so I would like to boot up OS X and make ...
0
votes
1answer
18 views

Old file deletion script

I used this script: #!/bin/sh for file in "$( find /var/backup/web2 -type f -mtime +1 -maxdepth 1 -exec rm -f {} \; )" do rm -f $file done exit 0 to delete files older than 24h from fixed ...
1
vote
2answers
29 views

Using rsync to Synchronize Directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup Which works fine it is copying the contents of ...
0
votes
1answer
45 views

Linux dump, which folders/files are excluded from first backup?

When using dump, level 0, to save the whole concerned partition : $ dump -0f /path/to/target/drive / I'm said some folders are excluded (I guess, at least, tmp folder). I have not found more detail ...
1
vote
2answers
17 views

How to check if a dump-generated backup is OK?

When dumping my FS with dump, e.g.: $ dump -0f /path/to/usb/nonexistant-file-name / I get a binary file, extension-free. It's normal. I regularly store such backups, if ever I need to restore one. ...
0
votes
1answer
16 views

Linux dump(8) outputs nothing

I am dumping my live partition. All works ok in terminal. Until the 100%. I dump from live mint partition to an USB key. $ dump -0f /dev/sdc1 /dev/sda2 Once done, I look at my USB key. Nothing on ...
0
votes
1answer
52 views

Linux : Best way for cloning/backingup

I browse various solutions for backing up : tar (and his -N option, for incremental tar files) dump (and his level feature backing only new files, if wanted) fsarchiver CloneZilla ... Starting ...
-2
votes
1answer
32 views

Linux “dump(8)” command

I plan to use dump(8) for backing up a Mint disk. Some doc about: http://linux.die.net/man/8/dump Hum... is it deprecated ? (dont work with ext4) Is it a Debian & co (ucuntu, mint) solution ? ...
1
vote
1answer
35 views

Backup system image.

Is it possible to create an image backup of my installed linuxmint. I would like to be able to have a restore image to reinstall Mint as I do with windoes system image backup (for instance). In ...
1
vote
1answer
31 views

Open source OS/File Backup solution [closed]

There are quite professional "OS/File" Backup solution from many vendors like Symantec BackupExec/Veeam. But those solutions aren't free & requires license. I am planning to build a open source ...
0
votes
2answers
25 views

Linux tools for deleting backups when they get too old?

I was looking at SQL Server 2000 today, and it has an argument in the EXECUTE command called -DelBkUps for deleting backups that are of a certain age. Does Linux have any tools for deleting backups ...
1
vote
0answers
27 views

btrfs - snapshot of a parent subvolume excludes child subvolumes?

Let's say I want to exclude ever-changing logfiles from backups. Parent subvolume / Child subvolume /log I snapshot /. Looking at the snapshot, /.snapshots/today/log will be empty, correct? This is ...
2
votes
2answers
60 views

How do I transfer installed packages and settings from one distro to another?

I've been exploring learning and about the Linux system via VirtualBox for a few month's and decided that I want to make it my main OS and install it on my hard-drive. I have a number of files, ...
3
votes
2answers
41 views

How to skip special / socket files during rsync transfer?

Using the following command. rsync --archive --delete --partial --progress --recursive --no-links --no-devices --quiet source target Using --no-links and --no-devices already. Getting the error ...
0
votes
0answers
18 views

Whats the right way of Data/Subvolume structure/hierarchy management using btrfs

My intention is to switch my filesystem from ext4 to btrfs. Currently I have 2 space disks with 4 TB each. I allready set them up in raid1 (using mkfs.btrfs -d raid1 /dev/sdx /dev/sdy) Then there ...
2
votes
1answer
19 views

Duplicity include/exclude directories & symlinks

I'm trying to configure Duplicity to perform a system-wide settings backup. Among other things, I'd like to backup settings in /etc/portage/, the file /usr/src/linux/.config and the KDE autostart ...
2
votes
1answer
31 views

Backup on a remote server in an encrypted folder

Is there an easy way to backup your home directory on an online server in an encrypted folder? I heard of obnam which should be able to store encrypted with a GPG key somehow. What would be the ...
1
vote
2answers
22 views

Delete files that are not part of a bash array

Right now I backup the mysql databases using a cronjob everyday. Now that the server is getting full, I only want to keep one backup for every month, one backup from sunday every week and the last 7 ...
1
vote
2answers
34 views

Pack installed system in tar.gz file

I have arch linux installed, with partition scheme like this: /dev/mapper/lvm-root -> / /dev/mapper/lvm-home -> /home /dev/mapper/lvm-opt -> /opt /dev/mapper/lvm-pkg -> ...
8
votes
1answer
315 views

cp says it's removing files, but shouldn't be

Making a quick backup: root@guilmon:/mnt/backup/guilmon/home# cp -uvfrx --preserve=all /home/rena/ . The output is surprising - some files are said to be removed! removed ...
0
votes
2answers
46 views

rsync partial LVM volume to Remote Directory

Can I rsync a full hdd partition (which is inaccessible) to a remote directory? Inaccessible means it cannot be mounted, it was part of LV volume merged with other HDD which is faulty and removed ...
0
votes
1answer
36 views

Hard Disk Clone Image Size

I've created an image backup for HDDA (partition) from HostA and saved on HostB ssh -c blowfish user@ip-or-hostname "dd if=/dev/sda1 | gzip -1 -" | dd of=sda1.gz conv=sync,noerror The HDD size is ...
0
votes
1answer
16 views

run remote command to save debian package list

I'd like to backup the package list(dpkg) of some remote computers to a backup server: all of them running Debian. I already configured the rsa key to login remotely as root on the other computers ...
0
votes
1answer
34 views

How do backups that use LVM work?

Some LVM tutorials seem to claim that one take a snapshot of a logical volume (LV), then backup the snapshot using another tool, then remove the snapshot. When the unspeakable happens, the user can ...
0
votes
0answers
23 views

Backup using rsnapshot not working

I have a server web based Linux and i want to make backup every hour using rsnapshot. this is my rsnapshot file configuration : config_version 1.2 snapshot_root /var/Majjane-Save/ cmd_cp ...
0
votes
1answer
47 views

rsnapshot backup not working?

I installed rsnapshot and configured it to make backup every hour. But the issue is all backups that are made not working. Let me explain to you, I made 3 backups hourly.0, hourly.1 and hourly.2. ...
1
vote
1answer
29 views

What happens if I move the hard drives used by Rsync to another computer, and keep syncing them with it?

I realise the question is confusing, so allow me to elaborate. I apologise for the phrasing, as I wasn't sure how to put it. Here's the scenario: As my backup, currently my Mac launches Rsync every ...
1
vote
1answer
40 views

Can set up a cron job to copy my server to Amazon S3

I have an Ubuntu 12.04 install on physical hardware. I will then install Geonode on it. The system will be running at a place with variable network capacity. My colleagues will add data and should ...
0
votes
0answers
33 views

Backup server with tar, encrypt and directly transfer the result, AFTER BUFFERING IT

So I've been investigative how to make full backups with tar, and I found that tar is a good tool if the backup is to be made once, and if the server has enough disk space to handle the output file. ...
0
votes
0answers
10 views

What folders do I leave out when trying to setup a backup for a Raspbian (Debian) install on a Raspberry Pi 2? [duplicate]

More specifically I'm going either with rSync or something similar to backup the root of the file system to another computer remotely. What do I leave out?
1
vote
1answer
43 views

Copy a rolling “last 2 months” of files

I have a friend who is a photographer and she has a lot of large files as a result. Our current solution is where some files are delivered to my house. I don't have the storage capability to store all ...
0
votes
1answer
31 views

How to omit directory from backup

I am trying to edit a backup script so it will work for me. My issue is that if I set the directory path I wish to backup, then it would also backup the directory containing the backups :) The ...
1
vote
0answers
32 views

Backing up/restoring a full VPS, can't boot from live media

(My question here is specifically about Ubuntu, but I'm posting it on Unix & Linux because I think the answer will apply to Linux in general. I'm more than happy to reformat the question or move ...
0
votes
2answers
45 views

What is an adequate backup strategy for Debian system with a simple database? [closed]

I would like to know a suitable backup strategy for a small business running a simple database. The whole system operates from a single local computer with one internal hard disk. I have already ...
6
votes
2answers
63 views

Can a linux filesystem be backed up by copying the file structure tree only?

This might be considered to be more of an academic question but here goes. Returning to Linux after some years away, I installed Ubuntu 15.04 Desktop on a small PC. Looking around the file system ...
1
vote
0answers
20 views

make_tape_recovery: is possible to do the same on linux?

On hpux,i use a fantastic tool from ignite-ux make_tape_recovery -x inc_entire=vg00 -A -v -m pax -E With this i make and image on tape,and even if VG00 is corrupted and or unavaliable,or something ...
1
vote
1answer
50 views

configuring rsync for incremental backup and recovery

The setup is a NAS box on a lan mounted as NFS and the source is a laptop running an old kubuntu 10.4. Rsync has to be run as a local file copy, NAS box doesn't support an rsync daemon. How do I ...
0
votes
1answer
51 views

Deleting partitions without losing data

Case 1: Let's say I mount /dev/sda3 /var and this entry is not in /etc/fstab. After unmounting /var, if /dev/sda3 is an unused partition (no entries in the fstab), if I delete it I will not lose any ...
0
votes
0answers
31 views

Difference between fsarchiver and dump

What is the difference between dump and fsarchiver? Are there features in dump which are not covered by fsarchiver? Can both backup to tape storage for example?
0
votes
0answers
64 views

Schedule backup with notification?

To avoid editing files at the same time of backup scheduled by cron, I figure out a way: Before backup, send a desktop notification such as notify-send -t 0 "Ready for backup", to let me prepare ...
0
votes
0answers
39 views

editing files at the same time when cron automatically runs backup

I heard that it is a good idea to schedule backup in crontab file. I also head that it is bad to edit files while they are backed up. It may happen that cron stats to backup a directory while I am ...
2
votes
0answers
54 views

Logrotate archive old log files which has date extention

Everyday a log file is created in my directory. But with time, there tend to be a lot of log files. I want to keep the latest 4 log files in .log format, and compress the rest and copy the compressed ...
2
votes
0answers
34 views

What can I do with btrfs “profiles”?

Reading through the btrfs (sub) command documentation, it can "balance only block groups with the given replication profiles", and "convert selected blocks to a given profile", and apparently it ...
1
vote
2answers
26 views

Automatic sync/backup that adds files to hard disk and keeps when removed

I know there are a few sync tools available in linux (I use openSuse OS btw), but I think they all do a pure "sync" and I am looking more for a backup function which is not synced (I could be ...
2
votes
1answer
69 views

How to split file and save parts to multiple locations?

How do I split a large file into multiple smaller chunks and write each part of it into separate locations? split command seems to only output all the files into one location. The context I need to ...
1
vote
0answers
36 views

sync two zip archives (with minimal I/O)?

zip itself can freshen an archive to reflect the current filesystem (e.g. -FS). It only updates zip entries with outdated timestamps. Is there a tool that updates a 2.zip file so that it becomes ...
0
votes
0answers
41 views

Tar corrupting file attributes and skipping directories

While creating tar archives for backup purposes with 'large' numbers of files (200+), I have been repeatedly running into the following errors: tar: some/path/file.xyz: Cannot stat: Invalid argument ...
1
vote
0answers
25 views

Formatting btrfs for robust metadata

If I make three partitions on a HDD, it appears that the default (which is -m raid1) will only store two copies of each metadata block. Is there a way to store multiple copies, e.g. one on each ...
0
votes
0answers
12 views

sync source A into destination B

I want to create a perfect copy of A in B. I'm using this command, but is working good only on same existing folders rsync -h --progress --stats -r -tgo -p -l -D --delete /A /B if folder x exists ...