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
1answer
41 views

rsnapshot default root directory seems wrong

I'm running openSuse 13.2. In the config file, /etc/rsnapshot.conf.default, there is the following entry: snapshot_root /.snapshots/ rsnapshot has never been run. Yet in /.snapshots there are a ...
0
votes
1answer
55 views

How to “Find” then “Rsync” then “Tar/gz” on destination host?

I have a Cassandra node with snapshots broken up into 64 directories with over 350 files per directory. I want to "find" all snapshot files, preserve their location, rsync them across to a host with ...
1
vote
4answers
57 views

File permissions on data backups

After making a rm related mistake on some of my files (which was fine because I have backups), I started thinking on how I could limit myself to making such mistakes. I have not done anything with ...
0
votes
1answer
51 views

Backup a 50Megbyte ubuntu linux subdirectory tree to a LG Ultra Slim Portable DVD Writer

I would like to backup my 50 megabyte home directory /home/frankc on my Ubuntu Linux 14.04 LTS desktop Lenovo computer using a LG Ultra Slim Portable DVD Writer. The directions for the LG Ultra Slim ...
1
vote
1answer
59 views

TSM refusing to back up subdirectories on one partition but not others

I'm having the problem where TSM refuses to recurse into subdirectories on my / partition. This does not apply to my other partitions, where it does recurse. This is independent of my include/exclude-...
1
vote
0answers
28 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename USER=...
0
votes
1answer
142 views

Can't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?

On my old Ubuntu system (the one I'm trying to restore to) I had a boot partition /dev/sda1, my main OS partition /dev/sda2, and a swap partition /dev/sda3. I mistakenly formatted over /dev/sda1 ...
2
votes
1answer
67 views

Is there a way for a dd of a 80 GB hard drive to be minimal in size?

For backup reasons I need to use dd to copy a whole hard drive (including MBR, partitions,...). The hard drive is 80 GB in size where only 1.8 GB are used. The command I'm using is the following: dd ...
1
vote
1answer
29 views

Speed up backup in case where a partition has lots of free space

I'm trying to make a backup of a block device (Raspberry Pi sd card) using dd. Command used: sudo dd if=/dev/sdb of=rpi-backup-image bs=4MB where /dev/sdb is the unmounted RPi sd card. The amount ...
0
votes
2answers
26 views

Does the untarred folder overwrites or appends the contents of the original folder? [duplicate]

I have a x.tar.gz as a backup which has the following contents: .htaccess a.html b.html c.html x.html I have also a ./x directory, already existing, which has the following contents: .htaccess a....
0
votes
1answer
26 views

Not able to see the backed up file in the backed up media

I used 2 commands cpio and tar to perform the same operation of backing up data to an external drive which is my 8Gb pen drive (sandisk brand). At the time of executing the commands, it outputs ...
0
votes
3answers
284 views

MBR size is 440 bytes or 512 bytes

I remembered reading one question how would you back up the MBR of a disk. Two of the choices are dd if=/dev/sda of=/dev/sdb bs=512 count=1 dd if=/dev/sda of=/dev/sdb bs=440 count=1 and the ...
-1
votes
1answer
39 views

rsync backup not creating any files

I am trying to run rsync to back up my file system to an external flash drive. It finishes almost immediately, and no files are present on the flash drive when I view it. What am I doing wrong? king@...
1
vote
1answer
78 views

Secure way to back up systemd logs

I have arch linux installed on a raspberry pi and want to start backing up my logs regularly to some external write-once media. It'll probably be a CD, but I'm not sure yet, and it will probably ...
0
votes
1answer
30 views

How can I backup all my software in files to reinstall on another Linux system?

Is there a way to backup all my programs, software, maybe even libraries and their data on a Linux system like it is for apps and their data on rooted Android with TitaniumBackup? I'd like to backup ...
0
votes
0answers
34 views

Deja Dup restore overwrites original file dates?

Deja Dup restored data but all files are erroneously marked created today. Any way to restore files with original creation dates? Thanks!
2
votes
0answers
130 views

Copy remote btrfs incremental snapshot to new drive w/ UUID

Situation: Two machines (A & B, with local drives dA & dB) connected via slow network. Drive dA has initial backup to dB, while locally attached on machine A. btrfs send RO-snapshot-1-dA | ...
7
votes
1answer
305 views

Does rsync delete files on the destination that were deleted from the sending side?

Does rsync delete files from the destination if they were deleted from the source? For example, say in the source /home/me I have three files: a.txt b.txt c.txt Now, I run the command rsync -v /...
0
votes
0answers
30 views

Bulk Email backup

My e-mail server is hosted on AWS. It is running fine but every month I 'm getting more than 8GB of e-mails in my first account. I cannot delete any of the e-mails as my team need to refer back to the ...
1
vote
1answer
48 views

A open source and easy-to-use solution to Symantec Backup Exec

i need a open source and easy-to-use solution to replace Symantec Backup Exec. Basically i only make tape-based backups in a Powervault TL2000
2
votes
1answer
33 views

Compare two files, while overriding second file's size

I am trying to verify a backup that I made using the following command: dd if=/dev/sda of=/dev/sdc2 I backed up the contents of /dev/sda (internal hard drive) to /dev/sdc2 (external backup drive, ...
0
votes
0answers
25 views

Linux Image backup solutions

I want image backup solution for my three hp integrity rx2620 servers linux 4.0 based OS. Presently I am using storix network administrator v6.0. But i want individual independent backup solution.
2
votes
3answers
49 views

Is it possible to keep files on a disk partition without an OS?

I want to switch from Linux Mint to Musix. I want to backup my files and copy them after installation, but I was unable to do this because my only external medium for storage is an 8 Gb USB stick. ...
1
vote
2answers
92 views

How to check if directory is mounted on disc X and mount it if it isn't

I'm trying to write script to back my data up. I don't know much about it, so I might take a wrong approach, but what I'm trying to do is use rsync -avh several times for each directory I want to back ...
0
votes
1answer
39 views

How do I only copy files from one drive to another if the files I want aren't currently there?

I'm sorry if the title sounds a bit weird. Basically, I have a directory with a lot of images in it. I have a flash drive where I also have many of the same pictures. But let's say that I updated my ...
1
vote
0answers
107 views

Restore errors: “bad header/extent: invalid magic - magic 1701”

I'm testing these instructions to restore a backup image to an Intel Edison from a previous .img image. The backup line was: dd if=/dev/mmcblk0 of=sd/ubilinux_image.img I removed a file (to see if ...
0
votes
0answers
57 views

ZFS Snapshots and low space on zpool

I am trying to backup every hour my zvols. I am using zfs for virtual servers on Proxmox VE. I made myself script, which runs snapshot every hour and then send it to offsite backup, then bookmarks ...
1
vote
1answer
58 views

how do i make a script to generate a gpg backup saver?

Im making a little backup script that includes the function to encrypt the backup. The script runs automaticly with a cronjob. So the password for gpg is in a File. Its just a textfile. How can i ...
1
vote
2answers
92 views

Automatic and secure file transfer over two servers

the problem is how to automatically transfer backups from server A to server B in the best possible way in terms of security? Here is what comes to my mind: authorize server A pub key to access ...
0
votes
1answer
35 views

How to backup /user/home with some requirements?

I'm currently studying scripting and I need to create an script to back up the /user/home using .bz2 compression. My teacher wants the person running the script to select the user to backup and the ...
1
vote
0answers
33 views

ARJ under GNU/Linux

I'm using ARJ compressor under GNU/Linux system to backup mostly FS with a size of 600 GBs aprox., and very large number of files. I'm not using compression, only store with split of 50GB volumes. So,...
0
votes
1answer
25 views

Script for backup each DB on server but omit system databases

I have read a lot of post around this topic but I didn't found the one to fit my needs. So, basically I want to make two backups: one at mid day (12 PM) and the other at midnight (12 AM) for each ...
1
vote
2answers
139 views

Random files selector in filesystem

Context : In order to test some backup process which are supposed to work all nights, i want to select a random files on a large amount of datas. (Around 7 millions of files. This is a NFS server with ...
0
votes
0answers
50 views

Extract and backup Springseed notes

So i have installed springseed on a linux system and I was wondering if it is possible to extract the notes i am making in the program so I can backup the notes and not have to do it in dropbox.
0
votes
0answers
180 views

how do you back up files with a time stamp

How do you create a script to backup all log files (assume multiple files) into a directory called Backup/Logs ? The backup file must be date and time stamped. The backup must be compressed. The ...
2
votes
1answer
102 views

how to do version-specific backup/restore of Debian packages?

summary Note version-specific in the question title! This question is not, how to On one Debian host, capture a list of all installed packages. On another Debian host, install the latest versions ...
-1
votes
1answer
28 views

Physical Backup of Maria DB as a snapshot using LVM

I have a SQL database which I want to backup as a snapshot. I want to use LVM to do so, but I am not able to do it. Also my database is not stored in a LVM partition but its located in my /dev/sda2 ...
1
vote
1answer
31 views

What happens if rsync is scheduled to do backup, but remote location is unavailable?

I'm thinking of creating a sync/backup routine with rsync for some crucial files between my Desktop computer and Laptop. The point is not to use a Cloud service. I would set up an automated schedule ...
2
votes
5answers
2k views

rsync keeps disconnecting: broken pipe

I'm using rsync to backup my home directory. This has been working fine for a long time now. Here's the command I'm using: rsync \ -pavz \ --delete \ --exclude 'mnt/' \ --exclude '....
1
vote
2answers
645 views

What's the differernce between differential and incremental backup in terms of rsync command?

I use the following rsync command to backup my local folder ~/dir1 to a remote backup server: rsync -a ~/dir1 username@remote_host:destination_directory As per my understanding it's incremental ...
5
votes
2answers
94 views

rsync delete only excluded files

rsync option --delete-excluded implies --delete as well. From man page: --delete-excluded In addition to deleting the files on the receiving side that are not on the sending side, this tells ...
1
vote
1answer
103 views

Preserve date modified on directories / folders with rsync

I am trying to backup a failing hard drive and rsync would be ideal due to the features it has such as progress indicator and ability to stop and resume. The one issue I am having is that while file ...
-1
votes
1answer
372 views

How to take a directory or file backup using command?

I have uploaded my file there will be a daily changes in that file for safer side i want to take backup that directory,when i tried copy that folder to another it is showing whenever i have created ...
1
vote
1answer
130 views

Incremental backup script (shared hosting)

Please consider I'm not sys admin so I have only limited experience with the tools involved, I know there are similar question but I cannot find anything that suit my needs. In a similar question ...
1
vote
0answers
19 views

Backup location in LVM

By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file. What should I do If I want to change directory for backup? For ...
0
votes
1answer
95 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
3
votes
1answer
55 views

FreeBSD restore(8) confusion

I have successfully backed up the /, /usr and the var slices from an old machine. I have tar files on my windows machine. I need to restore the original slices to a new machine (Virtual Machine). ...
3
votes
1answer
44 views

cp command which partially resolves symlinks

Is there an easy way to copy a directory recursively where symlinks to external files/directories are resolved (target file is copied), but internal symlinks (pointing to files inside the copied tree) ...
1
vote
1answer
135 views

rsync with --link-dest options doesn't create hard links [closed]

I created a backup script that should create incremental backups every day and a full backup once a week from a remote host to my external backup hard drive. (short example at the bottom) The script ...
3
votes
4answers
177 views

Archive the oldest file, where files are named according to their timestamp

Context I have backup scripts running which create tar.gz files and transfer them to a dropbox folder on my headless linux VM. Problem I do not know how to create a script which will detect the ...