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.
1,362
questions
0
votes
0
answers
15
views
How to do ZFS incremental backup to IBM TSM
I am going to set up a new zpool. I plan to use nested datasets to store individual files. For example I could have the following datasets:
tank
tank/homes/user1
tank/homes/user2
...
tank/shares/pub
...
0
votes
0
answers
26
views
Most space-efficient way of using rsync to do incremental back up?
If we do
rsync -a --link-dest=dest1 src dest2
Then rsync will only copy files in src which have been modified compared to dest1. However, even if only one byte in a 1GB file is modified, the entire ...
1
vote
1
answer
32
views
restic - can't create backup from remote server
I want to backup a directory FROM [email protected]:/home/user/mc TO /local/backup-folder on my PC.
Why does this not work?
restic init --repo /local/backup-folder
restic -r /local/backup-folder backup ...
0
votes
1
answer
42
views
using a cron job to automatically backup the same drive using dd
so I want to backup my system drive (full drive not just partition) every month using dd, in an external hard drive. So I have something like this in my crontab
0 9 1 * * dd if=/dev/sda | gzip -c &...
1
vote
1
answer
21
views
How to create an entire backup of a disk to fall back to before performing a dist-upgrade?
I am preparing a dist-upgrade. Before I do that I want to make a backup of my entire disk so that even if the upgrade fails I can fall back to a backup. I have two SSDs, /dev/nvme0n1 which is the ...
0
votes
0
answers
28
views
How to restore multiple versions of the same file of several/all borg archives
Using borg backup, it is quite easy to restore (extract) a specific file X from an archive to the current location . using
$ borg extract /path/to/repo::my-files home/USERNAME/X
I like to extract ...
0
votes
1
answer
19
views
Dirvish backup and SSH-connection abort after connection is established
I'm new to Unix & Linux Stackexchange.
I have to following problem: I want to backup a virtual machine ruinning Debian 12 with dirvish on Debian 12. But when the dirvish machine connects to the ...
0
votes
1
answer
66
views
Is rsync the best way to keep four drives synched?
I googled but I can't see the best solution for my purpose.
Using LUKS I have physical drives: A,B,C,D
I need:
when I write something on drive A, automatically or scheduled changes are written on ...
0
votes
1
answer
15
views
Timeshift Question: loading a restore point, excluding software added after restoring
I looked around and tried to read the documentation, but I am a bit new with Linux. And couldn’t understand it. I’m running the latest Pop!_OS and installed Timeshift.
I run into problems where I ...
0
votes
0
answers
41
views
Duplicity encrypting to a strange key?
I'm trying to get duplicity working with gpg keys, but it's behaving a bit strange (on the actual machine that I want backed up, it seems better in virtual machines). Here's a complete set of commands ...
0
votes
1
answer
55
views
Best way to compare/diff two big directories that are backups (by `rsync -aAX`) of a boot partition from another computer?
[ EDIT:
Answered my own question.
Used unison and some hacky post-processing
(
copy-pasted the log output of unison,
tweaked it in my text-editor with multi-selection editing,
then did some shell ...
0
votes
0
answers
25
views
Mirroring files locally in background
Context:
Say I have two workplaces. Currently, I carry a laptop along, and have external HDs staying in these workplaces to hold backups. Now, I'm given the opportunity to have a desktop in both ...
1
vote
1
answer
32
views
Almost empty disk after some actions on arch
I have an arch linux with ext4 partition
I had a working system and decided to make some backups
Here's what I've did:
Installed timeshift
After opening it I've decided to install btrfs-progs (I was ...
1
vote
0
answers
27
views
Knowing which storage device is bottleneck between two devices when transfering data?
I'm backing up my entire internal storage of my Android device with ADB to the PC storage with OS Windows with Git Bash:
adb exec-out "tar -c storage/emulated/0 | gzip" > ...
1
vote
0
answers
90
views
rsync freezes whole system
i am trying to backup a few TB to a second hdd. I am copying from a NTFS partition to an ext4 partition. Most of my files are small pictures. I use the command rsync -av. However after some random ...
4
votes
5
answers
1k
views
How to take selective backup?
Say there is a folder called domains in glassfish. It has domain1, domain2...domainN.
I want to take everything from domain1 except the logs directory and save them to /home/user/backup directory.
I ...
0
votes
1
answer
30
views
failed to restore root filesystem from dump backup
I'm currently testing a backup/restore of RHEL 6.4 OS via the "dump" and "restore" on testing environment, and I do know that RHEL 6.4 seemed too outdated in nowadays. Butsome ...
0
votes
0
answers
41
views
Debian installation is emergency mode, how to recover data and create a new installation with previous installation's apps and data?
I'm using a Raspberry Pi as a home media server, and it has been in emergency mode for a while. Despite being in this mode, it continues to function normally.
My question is, is there an effective way ...
0
votes
0
answers
26
views
archiver/backups does not save/restore hardlinks
I will explain what kind of hardlinks and where and why they appeared, and why to save them.
pictures on the server are saved:
../foto/M/ay/uZbIKBgsXr0222858001661067986M
../foto/M/ay/...
1
vote
1
answer
55
views
Override 700 permissions so it became group-readable or at least accessible for given user but the owner?
Given that an app is writing files with 700 permissions, which means they are not readable by the group, I need these files to be readable by a special backup user account.
ACL seems to be completely ...
0
votes
1
answer
94
views
What file compression software/algorithm is best for mixed types of files? [closed]
I am looking to backup a large amount (~400GB) of different types of files (50% images and videos, 30% audio, 20% text). I hesitate to give an amount by which I'd like the size to be reduced, since I ...
2
votes
3
answers
226
views
Why is uncompressed tar much faster than rsync?
I'm currently looking for a way to improve my system backup performance and realized the following during some tests:
Backing up my Ubuntu system from an SSD to an HDD (both ext4) using TAR without ...
-1
votes
1
answer
230
views
Which 'Linux-Only' filesystem is suitable for backup and resilience in 2023 [closed]
I want to understand which filesystem (FS) will be most suitable for the purpose of data archival. Following are the usage parameters and requirements the FS should be able to meet:
Backup medium is ...
0
votes
0
answers
8
views
backing up gpg media choice?
I am finally doing what I should have does years ago and producing a paper and digital backup of my keys. The question is about the preferred media. I have had usb thumb drives go bad but never had ...
0
votes
2
answers
57
views
Are Rsnapshot backups self contained - how to save into zip?
I have some old backups done by rsnapshot. The directories are:
/backups/week.0
/backups/week.1
/backups/week.2
/backups/week.3
/backups/week.4
I'd like to keep only one copy and delete the others. ...
0
votes
1
answer
102
views
How to split and combine large tar ball file?
I have this code to split large backup files into smaller chunks that can be saved on the FAT32 filesystem.
split -b $(echo "6*(2^30)-1" | bc) --verbose $1/jcubic.tar.gz $1/jcubic.tar.gz-
I ...
0
votes
0
answers
165
views
Using autofs to mount NFS shares when host is available
I have set up a NFS server on my NAS box, and I can mount the directory on by Ubuntu 20.04 desktop PC.
I have also set up autofs to mount the share, which also works. When I start autofs, the mount is ...
0
votes
1
answer
208
views
What does "*", "**", and "***" mean in Timeshift filters?
When excluding a folder, Timeshift generates a filter rule of this format:
/home/nils/.cache/***
What do the three stars mean? And what do two or a single star mean?
7
votes
5
answers
2k
views
Is it a good idea to replace files in etc with symlinks?
I don't switch machines that often, but I don't want to be bound to 1 machine. Often the reason I'm not upgrading my hardware is because I don't want to be setting up a new machine.
So far I've made ...
1
vote
0
answers
16
views
how could deploy backup keystone service across multiple region
In my situation, there are three Openstack clusters deployed at three different cities which called regionA, regionB and regionC.
We use the one keystone service which is only deployed in regionA.
...
0
votes
1
answer
26
views
Apache Ignite - Automatic Cluster Snapshot Create / Restore Procedure
When trying the Apache Ignite cluster snapshot procedure (snapshot create, restore), the restore operation is not successful.
Before the restore procedure, we have destroyed the cache which we want to ...
2
votes
1
answer
191
views
Restore Rsync Backup Of System On Any Linux Distribution
I used the following alias to back up my root directory on Ubuntu 22.04 LTS to an external flash drive
alias backup='sudo rsync -aAXHS --info=progress2 --delete --exclude={"/dev/*","/...
1
vote
1
answer
54
views
Why is my entire home backed up?
I wish to back up some of the files located in my home dir.
That is
simple files at the root of my home
and some directories in my home, listed in ~/worthsaving.txt
Sample worthsaving.txt:
cloud
...
6
votes
0
answers
128
views
How to guarantee temporary immutability of LVM2 LV at raw block level?
I inherited an Azure VM (Ubuntu 20.04) which has a 7 disk VG fully occupied by a RAID5 LV formatted as ext4.
I need to take backups and was hoping to use Azure Backup to snapshot the Azure Disks ...
0
votes
0
answers
69
views
Good security practice for remote to local backup using rsync
I would like to perform a manual backup of a remote VPS (Debian 12) to my laptop using rsync. I want to backup the single files and directories to easily inspect them locally, and not e.g. a VM ...
0
votes
0
answers
10
views
Will the data I backed up using "backups application" in ubuntu can be accessed from fedora if I remove ubuntu and install fedora?
I want to ask that, I backed up all the important files and folders using "backups application" in ubuntu .
And now I want to remove ubuntu and install fedora, will I be able to access the ...
0
votes
2
answers
159
views
Restore lost bootloader on a luks partition
I need an advice about a bad situation.
I was installing a new linux ditro by using my main PC. I booted with the ISO and then installed the distro on /dev/sdc, which was an external USB drive.
My bad,...
0
votes
0
answers
29
views
NAS configuration for encrypted data and backups
I have an old HP N36L NAS. In addition to a small system HDD it has a single 4 TB HDD that I use to store all my data that should be shared on the network. Currently it is a single EXT4 partition. I ...
0
votes
0
answers
68
views
Which directories should I backup so that I can restore a system's configuration?
Let's say I decide to nuke my FreeBSD system and do a fresh install. I'd then like to get the system configured the way it was, including some of the scripts I've added. (User data and other valuables ...
0
votes
1
answer
102
views
What to back-up in home partition?
The hard drive in the notebook I own is quite old. So, I have a habit of doing regular back-ups to avoid losing everything should it fail.
Rsync does fine job of backing-up the partition (it is a ...
0
votes
0
answers
69
views
Recover Deleted Files From Ubuntu18 Cloud Server
Data got completely erased because of system failure. I am trying to recover the files using extundelete.
While trying to recover the folder, iam receiving the following error.
Command iam using : ...
3
votes
2
answers
1k
views
What precisely does cp -b (--backup) actually do?
Before you hit me with the obvious, I know, the backup option makes a backup of a file.
But the thing is, the cp command in general backs up a file. One could argue a copy of a file is a backup.
So ...
0
votes
0
answers
25
views
How to back up email to local filesystem? [duplicate]
I am moving to a different email provider. It will be the same email address, though. How do I back up the full account, all messages and attachments, to the local filesystem so that I can restore it ...
0
votes
0
answers
170
views
Best way to create snapshots on Ubuntu
I would like to learn a bit more about Linux but usually when I build a system and try new stuff I mess up at some point and it sucks to start all over, so I rather not experiment that much :D
"...
0
votes
1
answer
59
views
Confirm files exist in both locations, excluding directory structure
I have a folder of photographs (original directory).
I imported these photographs into Shotwell, which has copied the files into a directory structure based upon EXIF data (new directory/year/month/...
0
votes
0
answers
98
views
How can I backup and reconstruct partitioning, LUKS, and LVM scheme?
I have a server which I've already set up periodic remote rsync -aHAXS backups of the files in the /boot partition, / root logical volume, and /home logical volume. My next concern is if my physical ...
1
vote
0
answers
176
views
How can I quickly perform a whole-drive dd backup over ssh?
I am trying to periodically back up a machine I am hosting remotely with dd. This is the method that I have found works in the past for machines with small drives. But my new machine has a 75 GiB luks-...
2
votes
0
answers
74
views
how to backup remote location containing hard links, without rsync
I want to backup backintime-data from an internet-facing, remote machine running debian 11 (src). That is the hardlinks-part from the title.
I want to back it up to a (very dumb) NAS (dest) in the ...
1
vote
0
answers
52
views
Why did my tar backup fail?
My home directory is encrypted with ecryptfs. I wanted to try some things that required reinstalling my system, so I backed up to a flash drive with this command:
sudo tar cf backup.tar.zstd --one-...
1
vote
0
answers
594
views
Backup on NFS mount: nfs: server xxx not responding, timed out
My home server (Debian 11, kernel 5.17.1) mounts network shares via NFS v3 from an old Synology DiskStation DS409+ (kernel 2.6.32.12) and does weekly backups on it.
I use rsnapshot as backup tool, and ...