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)

2
votes
1answer
22 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
14 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
29 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 -> ...
7
votes
1answer
301 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
30 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
29 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
14 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
28 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
15 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
31 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
25 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
23 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
30 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
33 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
15 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
37 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
56 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
17 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
41 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
38 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
23 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
56 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
38 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
35 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
25 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
22 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
56 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
27 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
34 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
18 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 ...
0
votes
0answers
9 views

Verify par2 on different media?

Is there an easy way to point to a par2 index file in one place and have it use a different base directory for the files to verify? Here's what I'm up to: I copy a bunch of stuff to backup media. ...
0
votes
1answer
73 views

How to move mysql database and mysql server to another machine

I am having Ubuntu 14.04 desktop in which i develop software. Due to some reasons my hard disk has developed many bad sectors. I want to move my mysql server software and all the databases to a new ...
2
votes
1answer
166 views

Interacting with Tape Library on CentOS 7 via mtx

I have a Quantum SuperLoader 3 plugged in via SAS to a CentOS 7 system. It shows in dmesg and lsscsi and is handled by the ch driver. $ lsscsi [0:2:0:0] disk LSI MR9271-8i 3.24 ...
2
votes
2answers
27 views

Backup of a NAS

I have a NAS that is used to store data from our LAN. For many years I've relied on tar or cpio to back up selected directories to tape. When I backup complete partitions or disks on the various ...
0
votes
0answers
89 views

Backup And Restore Shell Script

I have been trying to create a script that backups up a certain directory and then restores the directory. The backup works as it should but when I try run the restore function I get the following ...
2
votes
2answers
43 views

How to keep a history of backups?

My intention is to create a "snapshot" of a certain hard drive on a server every day. How can I automatically make sure that the snapshot of today, three days ago, five days ago, 10 days ago (and so ...
0
votes
0answers
27 views

backup without closing programs that are opening files for editing, and detect unsaved open files?

Is it possible to do backup without closing programs that are opening files for editing? I would like to do backup without closing programs that are opening files that I am reading or writing. I ...
1
vote
2answers
91 views

What is advantage of backing up a filesystem by version control software?

Version control software seems to be used for backing up project mostly in plain text files. For backing up a file system, with large amount of files or large size, regular file copying/transferring ...
2
votes
2answers
77 views

vim: how to trace back all changes done to file during the day

Does anybody know how to setup vim (the text editor) in such a way to make it possible to trace back all the changes done to a file within a day? I need it for the cases when I have accidentially ...
0
votes
0answers
37 views

rsync question about a directory

I went ahead and used rsync to back up a root directory called /files my exact commands werersync -avzh /files willc66@server.com:/backup, inside my /files directory I had 2 sub directories home and ...
2
votes
2answers
42 views

How to split existing mailboxes based on date with procmail

I have huge mailboxes I would like to manage based on the age of their content: backup, archival or removal. I would like to split these mailboxes along the date of their contained messages. For a ...
0
votes
1answer
19 views

Moving Application Configurations to Separate Partition

So by default, most services install their configuration files to /etc/<application>. On my physical systems, I'm using LVM for volume management, and specifically so I can rollback snapshots ...
3
votes
2answers
37 views

Help checking the integrity of TAR files for backup

I want make a backup of my Home directory and I've read a good method is to use the tar tool, and I think it suits me well since all I need to do is create a .tar of every folder in the Home directory ...
0
votes
1answer
27 views

Standards for dealing with older/previous “.bak” backup of config file before new edit

Assume I have a config file "foo.conf." This file is rarely edited. At some point in the BeforeTime(tm) it was edited and "foo.conf.bak" was created to save the previous state. Now, I want to make ...
-2
votes
1answer
24 views

An incremental or another full backup? [closed]

After using rsync to backup a file system, if there has been dramatic change in the file system since the last backup, is it still good to do an incremental backup? Is there a rule of thumb about how ...
1
vote
1answer
28 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
0
votes
1answer
20 views

Software to do a 3 way backup

I am currently doing a backup of my system on an external hard disk using rdiff-backup. This kind of backup is good when the disk dies. However, I was also wondering if I can extend this method to do ...