Questions tagged [backup]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

elegant way to sync file between local machine and server (in real time)

I am looking for a "local Dropbox" to sync files between local and server. For complex reason I couldn't install Dropbox on the server. I thought about rsync but it doesn't work bi-directionally. ...
0
votes
0answers
15 views

Use Netcat from script (without logging into destination)

I have a backup method setup for all my Unix devices in the home to tar|pv|pigz|nc to a local server. As I've seen from numerous examples they all have you first have the destination machine listening ...
0
votes
1answer
21 views

Using rsync to back up /home folder with same permissions, recursive

I would like to request information on using rsync. I tried reading the manuals, but the examples are few and confusing for me. I do not need advanced features or live sync or remote sources or ...
2
votes
2answers
71 views

How to restore Linux with ACLs

I created dd backup of whole system and I would like to restore it to new (encrypted) drive. I successfully used rsync -ad to restore files and permissions to newly created ext4 filesystem (I ...
0
votes
1answer
37 views

rsync copies everything

I'm using rsync to back up my filesystem to a mounted disk /media/<user>/UbuntuBackups1/. I want 6 daily backups, 3 weekly backups and 3 monthly backups if possible. I've read that by default ...
0
votes
1answer
32 views

Failure of rsync to detect new files and directory

I have been performing backups to a remote machine via rsync for several years. At least over the past two months, rsync has stopped detecting new files and directories on the machine to be backed up. ...
0
votes
0answers
19 views

Backing up a device and restoring it including its partitions

Currently I'm going through each partition doing: mount -o rw /dev/mmcblk1pX /mnt/pX cd /mnt/pX # backing up: tar -czvf /tmp/partitionX.tar.gz . ... # something went wrong, restoring: tar -xzvf /...
0
votes
0answers
35 views

Found drive backup, cannot remember how I've backed it up

I was going through my USB drive and I've found a folder which I believe contains a 1:1 SSD backup. Problem is, I've created it 3 years ago and I can't remember for the life of me how or how to ...
0
votes
0answers
9 views

Backup with systemd

I have a laptop and an external hard drive. I would like to have the backup: Run every day at 11:59 (or whenever) If 11:59 comes along and the external hard drive is not attached, then whenever the ...
0
votes
0answers
25 views

Need help to create a checksum file of a directory on linux

I backup my data to an external hard drive regularly, and in the past, some of the files ended up getting corrupted and I haven't noticed it until it was too late. So to prevent this, I would like to ...
0
votes
1answer
67 views

Serious backup options for linux disk (dmcrypt, luks, ext4, ext3, btrfs) normal and encrypted system

Disk/Partition Backup What are the backup options and good practice to make a solid and easy to use full system backup? With the following requirement: Live backup Image backup Encrypted backup ...
13
votes
15answers
3k views

Linux backup utility for incremental backups

I'm looking for a backup utility with incremental backups, but in a more complicated way. I tried rsync, but it doesn't seem to be able to do what I want, or more likely, I don't know how to make it ...
1
vote
0answers
38 views

Backing up an entire drive

How do I back up an entire drive (all partitions and everything outside of partitions)? Do I make a dedicated backup partition on the target drive (how?) or do I make a larger partition and file ...
0
votes
1answer
47 views

How is this backup properly executed on linux, via rsync or copy?

How is this backup properly executed on linux, via rsync or cp? For example, I have two different NvMe SSD disks and I want to make a backup each night to copy directory1 with all its content to ...
1
vote
2answers
84 views

dd: “No space left” when restoring backup to exact same disk

A while ago I made a backup of an entire disk using dd if=/dev/nvme0n1 conv=sync,noerror bs=64K | gzip -c > backup.img.gz Today I restored this backup to the same disk using gunzip -c backup....
0
votes
1answer
32 views

Should I keep group file permissions using Rsync with a Shared folder

I’m going to use Rsync to make a copy of all the user data on my Mac. There are 6 users. I have also set up a Shared directory, which is user 7, but this isn’t really shared as explained here. I ...
0
votes
0answers
14 views

How can I successfully deduplicate XenServer virtual machine image dumps?

I am trying to use restic to backup XenServer virtual machine images, but when I backup the same unchanged virtual machine image the repository deduplication does not work: the repository gets twice ...
1
vote
1answer
39 views

Minimal SD Card image

If the command to replicate an SD card: date; sudo sh -c 'pv /dev/mmcblk0 >pv sdcard.image'; date images a fresh install of Raspbian sitting on a 128GB SD-Card, then sdcard.image file will be ...
1
vote
1answer
45 views

Corrupted external 500GB WD drive just won't mount - repairable? [closed]

I have a corrupted USB HDD which crashes my Windows 10, if I try and open the drive in explorer. I believe I might be able to save it with linux and I tried this: Repairing with ntfsfix and this: ...
1
vote
1answer
72 views

Is it safe to copy a directory while the contents are constantly changed?

I want to backup a shared directory with lots of smalls files, which are constantly changed by my users (add/delete/edit). As usual, I use tar and filter the content through a compression program like ...
0
votes
0answers
36 views

Compare disks for missing files with differing directory structure

Apologies for the length of this post, I've tried to keep it short as possible. I'm looking for a tool / method which, given two paths, would show which files are not present in one of the paths. The ...
2
votes
1answer
59 views

Recover deleted folder that's still loaded by an active process

I'm really sorry if this question was asked before. I really need help with this as it involves very important data and I've been unable to do it for the past 2 hours. Essentially I accidentally ...
1
vote
1answer
48 views

Can I avoid using `sudo` to back up files owned by root?

I'm using rsync to back up a set of files in /etc. The 'source' files are on an ext4 filesystem, and the 'destination' is an ext4 partition on a USB thumb drive. My incantation is similar to this: ...
0
votes
2answers
67 views

Is there a utility like rsync, but with the speed of btrfs COW?

rsync has various performance issues; I have never been able to make it perform a sync in O(#changes). Even if it uses modification time and not checksums, it still needs to generate a list of all ...
0
votes
0answers
17 views

Does Restoring Files Remove New Files Created After the Backup?

I backed up all my data on my Ubuntu 18.04 before sending my machine in for repair. Before sending in my machine, I removed the SSD (meaning I did not factory reset my device, and just sent it in ...
-1
votes
1answer
45 views

is `dd` an entire partition necessary in case of file loss?

Usually when having file loss problem with a filesystem in a partition, the first step is to dd the entire partition. When the use percentage of the partition by files is less than 50%, dd the ...
1
vote
2answers
112 views

Simple tools to read/write tapes on Linux

I have some tape drives and decided to back my data to tape (one of the reasons is that most of my data is not changing, so once I do a full backup, the tapes will have better chance of working after ...
4
votes
5answers
191 views

How can I sort a list of directories alphabetically and get the first value that sorts after a specific string?

I have a directory full of backup folders, with names in the format yyyy-MM-dd--HH:mm:ss If I enter a date in the same format, is there a way to get the first directory that sorts after it, and copy ...
0
votes
0answers
24 views

How to transfer files to an encrypted container from Mac to Ubuntu?

I have run a backup from my Mac to Ubuntu machine with rsync. rsync -av —delete ~/ me@ubuntu:/mnt/Backup/date However, I would like to make at the Backup folder a compressed and encrypted file. The ...
1
vote
0answers
21 views

How to get a full back up and recover a system based on that?

What is the best way to get a full back up of an Ubuntu (including drivers, installed applications, etc) and later if needed recover the system with that backup? Something like getting a snapshot and ...
0
votes
2answers
123 views

Unable to connect to Samba Share running in Linux Server from MacOS

Ladies and Gentlemen, I was hoping someone here could guide me in the right direction regarding the problem I am facing. I have literally tried all possible options in the internet forums with no ...
1
vote
1answer
54 views

A good way how to backup user data in CentOS?

I need to back up my data and I have not found a good way so far. Just say I have 1 TB of a non-system disk with 50-100 GB of user data (binary files, source code, images, etc.). And another big disk,...
3
votes
2answers
201 views

dd backup of a raspberry pi over ssh with gzip compression

I backup my raspberry pi "live" and remote from another linux computer, over ssh with gzip compression. I use this script: #!/bin/bash dt=`date +%y%m%d` ssh pi@192.168.1.141 "sudo dd if=/dev/mmcblk0 ...
0
votes
0answers
27 views

using dd copy with count option

I have a HDD with 3 partitions (ntfs filesystem). /dev/sda1 is the system partition and dev/sda2 is the OS partition. There is some unallocated space and then /dev/sda3. dev/sda3 has very little ...
0
votes
0answers
17 views

backintime: make several profiles incremental to one?

I have a rather technical question concerning Back In Time. I'm currently trying to work out the gory details about how to keep an incrementally updated, rolling mirror-backup of a given location (...
1
vote
1answer
31 views

Use Timeshift or similar for synching/backing up arbitrary locations?

I have been using a dual boot machine for a couple of years. I've got to the point where I spend 95% of my time logged into Linux rather than the proprietary OS (W10) and so I need to choose a Linux-...
0
votes
0answers
23 views

Backup Linux server file permisions to write only but not overwrite

Several different Virtualmin servers are using SSH to make backups on a single remote server. Unfortunately, this means that Virtualmin is storing the password as plaintext. I would like a situation ...
0
votes
1answer
46 views

Reliability: One Disk or Two

I have many TB of video & I’m trying to decide whether to get a small number of big backup drives vs a larger number of smaller drives. Cost per GB is cheaper with the big ones, but I worry having ...
0
votes
0answers
25 views

Accessing/Extracting files from .img-backup

I created a backup for my sd-card (used for my Raspberry Pi), which is a compressed (.zip) .img-file (backup.zip contains disk.img). Now I need to access one specific file from my this backup. ...
0
votes
0answers
17 views

QNX server backup image

I have a server with qnx 6.5 I want to use dd comand to take full os backup What is right to dd /dev/hd0 or dd /dev/hd07t my aim is to have an image to be applied for other hardware Other ...
2
votes
1answer
109 views

How to use an handheld device with GNU/Linux and YouTube to protect from death threats?

Suppose you fear you could meet someone who will threaten you with death. Assuming the bad guy won't destroy your handheld (for example an Ubuntu Touch device) on sight, a barely decent form of ...
0
votes
2answers
222 views

Rsync operation not permitted

I have backed up my data previously using rsync -avz on my late Linux Mint installation. Now when I try to backup my data with the same command on Windows 10 Ubuntu subsystem, the rsync just ignores ...
1
vote
1answer
44 views

How do I get notified when a program starts running on Linux?

My computer isn't too fast, and I get daily backups with Timeshift. But it is not clear what time of day this program is running. While it is working in the background, my computer slows down and I ...
1
vote
0answers
34 views

Backup and restore ZFS filesystem incrementally over webdav or ftps

On my main server, I use ZFS as a file system. So far I send incremental zfs snapshots to a backup machine which also has zfs available as a file system. Unfortunately, the backup server has a ...
0
votes
0answers
50 views

Odd output from dsmc (Tivoli storage manager or TSM) query backup

I'm using TSM (dsmc) on Ubuntu 14.04. # dsmc IBM Spectrum Protect Befehlszeilenschnittstelle des Clients für Sichern/Archivieren Clientversion 8, Release 1, Stufe 8.0 Client-Datum/Zeit: 04.12....
1
vote
1answer
72 views

rsync backup stragegy how to avoid syncing corrupted files?

If I use rsync for an automated backup, how can I avoid it syncing files that have been corrupted at the source? For example: I have /source/*.* and it's periodically automatically synced to /...
-2
votes
1answer
34 views

backing up files on a Linux VM

I have created a VM using VirtualBox 6.0 and it has Ubuntu 18.04 installed. The host machine is running Windows 10. The purpose of setting up the Linux VM is to do mobile app development. Initially,...
0
votes
0answers
30 views

Backups with checksums onto multiple drives

Is there a way to backup files onto multiple drives with checksums, which can be recovered without without manually having to see which files checksums are correct and copying the file from the drive ...
0
votes
1answer
88 views

Timeshift weekly cron emails

I recently installed timeshift and set it to backup weekly. However, when I looked in /etc/cron.d, I only found timeshift-hourly which ran: 0 * * * * root timeshift --check --scripted which appears ...
0
votes
0answers
11 views

Cron run backup no more than once every two days at some time when laptop is on

I have a backup script that runs on my laptop. I can't guarantee a specific time my laptop will be on. I want the script to run no more than once every two weeks. My current solution feels very hack-y,...

1
2 3 4 5
22