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,454 questions
-1
votes
0
answers
41
views
How do I clone an encrypted Ubuntu 24 LTS install to a bigger disk, and then boot from that?
I have a computer with a 1000GB nvme and a 500GB nvme. I installed and fully setup the 500GB with Ubuntu 24 LTS, and all my apps. I chose LVM and encryption in the Ubuntu installer, and then created ...
0
votes
2
answers
40
views
Saving youtube videos after a date range
I'd like to know the steps I need to take to use youtube-dl to backup my youtube videos after a certain date range. I see commands that can be written but do not know how to get in to youtube-dl so ...
0
votes
1
answer
59
views
What can I do to make my super simple rsync backup strategy faster and more efficient?
I have an old Lenovo ThinkCentre to which I have attached a dual-bay, USB hard drive enclosure. The two hard drives are independent from each other (i.e., no RAID). I have them mounted like so:
/mnt/...
2
votes
2
answers
84
views
BTRFS backup using send/receive: exclude files from the backup
Most backup solutions save files that are not needed for individual file restore, e.g. caches. To avoid this, subvolumes can be used, but are restricted to subtrees. Full backup is more arduously then....
1
vote
2
answers
54
views
Atomic snapshots for BTRFS
In the context of backups, a snapshot is atomic to ensure a quite consistent set of files. If two subvolumes are used, e.g. @root and @home, they might differ the longer the time is between the ...
8
votes
5
answers
1k
views
How to clearly indicate a device is not mounted
Is it a good idea to add an empty file, say a file called NOT_MOUNTED, into mountpoint directory when the backup storage device is not mounted? Or will this be confusing? Is a symlink better, that ...
0
votes
1
answer
234
views
How do I set my SSH password/key for Pika Backup?
I made an account with rsync.net for backups but am having issues setting them up with the GNOME Project's Pika Backup.
I set the location as: ssh://<username>@<username>.rsync.net/~/...
5
votes
1
answer
308
views
Error 44 trying to rsync over ssh on Synology DSM
This is a bit long winded but I want to give as much information as I can. I have a Synology NAS running DSM 7.2.2:
steve@NAS:/volume1/docker/backuppc-mdns$ cat /proc/sys/kernel/syno_hw_version
DS223j
...
0
votes
1
answer
71
views
What permissions should the applicaton data for KDE's Spacebar have?
I attempted to backup and restore the data for Spacebar within my Debian installation. However, it does not appear to work properly. I think I must have accidentally changed the permissions.
Are ...
0
votes
3
answers
321
views
Cloning a Linux disk containing LVM logical volumes
I have a GNU/Linux installation with an unencrypted primary partition (boot partition) and a LUKS primary partition containing two LVM logical volumes (root filesystem and swap space):
/dev/sda1: (...
0
votes
0
answers
92
views
Cloning Linux installation to another drive
I've backed up a Fedora 42 installation using tar, and now I am trying to restore the backup to a different drive on the same system, basically cloning the original installation.
The original ...
2
votes
1
answer
137
views
rsync script for incremental backup which continues unfinished jobs
I have a script which does incremental backups with rsync (script 1). I tried to add the feature to continue unfinished jobs in another script (script 2) but this version does a full copy of the ...
3
votes
1
answer
298
views
How do I backup/restore data from KDE's Spacebar?
I want to backup my messages within KDE's Spacebar so that I may do a full system reinstallation. How can I backup my messages and restore them into a new installation?
0
votes
1
answer
89
views
How can I create a full system backup of my Librem 5 using jumpdrive?
I would like to backup my Librem 5 using jumpdrive. How can I create a full system backup of my Librem 5 using jumpdrive?
0
votes
0
answers
51
views
Can I complete a full system backup with Deja Dup?
I am attempting to complete a full system backup of my Librem 5.
Can I utilize Déjà Dup to back up my entire system? Deja Dup is preinstalled on the system as 'Backups'.
I want to include app data—...
2
votes
0
answers
90
views
How can I find multiple duplicates of media files,sort, backup them and delete the rest?
I have a 4 TB hard drive containing pictures, sounds, and videos from the last 15 years.
These files were copied onto this drive from various sources, including hard drives, cameras, phones, CD-ROMs, ...
0
votes
0
answers
57
views
Automatic backup on a second internal hidden disk when files are moved to a first disk
Summary: I need to automatically backup files on a hidden hard disk whenever the user copy files on a specific hard disk.
Long explanation:
Context:
My father (70 years old) is very bad at computers. ...
7
votes
2
answers
1k
views
~/.local/share is set for what? And can I ignore it at backups?
I wonder if ~/.local/share contain real user data or if it only contain session-related data and binary generated stuffs.
I also wonder if I can include it in an --ignore statement with BorgBackup ...
0
votes
0
answers
42
views
CacheFiles when the cached system is unmounted, or alternatives
In my current setup, I have two machines serverA and serverB in different geographical areas. serverA has a limited amount of persistent memory (~256GB), while serverB can be considered to have enough ...
0
votes
2
answers
154
views
Why did my backup folder with large amounts of repeated data compress so poorly?
I have a folder with around seventy subfolders, each containing a few tarballs which are nightly backups of a few directories (the largest being /home) from an old Raspberry Pi. Each is a full backup; ...
2
votes
0
answers
107
views
How to handle Duplicity not being able to do backups to Google Cloud Storage bucket because bucket contains aborted backup
I have setup a Google Cloud Storage bucket for my Duplicity backups. The bucket has a retention policy of 1 year. Today Duplicity got interrupted while doing the backups, and now, every time I want to ...
2
votes
0
answers
131
views
Add error correction to SquashFS images as part of a backup strategy
My backup strategy currently primarily consists of daily backups of all of my machines with Borg Backup, stored on different storage devices in different locations, following the 3-2-1 strategy. These ...
5
votes
1
answer
228
views
Removing /dev/fd from backup
I accidentally rsynced (with symlink following) my entire / to another disk.
I was running rsync as a regular user.
Realizing my mistake, I wanted to clean up the backup.
It deleted all the files, ...
0
votes
0
answers
73
views
Comparison of content of two folders on remote cluster with rsync command
There is my home directory and its backup on the remote cluster.I used rsync command to check if home directory and its backup are completely identical:
rsync -rvnc data/ data2 >rsync_out-4.txt 2&...
0
votes
1
answer
170
views
Can I restore my home directory after freshly installing a new version of Fedora or should I first install the previous version and then upgrade
I have a backup from my home directory which was created under Fedora 40 (which was configured by my previous employer). Now I have a new SSD in my laptop on which I want to use Fedora 41 with the ...
0
votes
1
answer
74
views
Deja Dup stops uploading to gdrive with invalid request
I'm running on Debian 11 and have used Deja Dup so far to backup the most important stuff.
I've connected the app to my gdrive that finished backups are automatically uploaded. As of lately the backup ...
0
votes
1
answer
48
views
Samba serve unmounted FS
I was delinting a smb.conf and it occurred to me that
oplocks = no
level2 oplocks = no
is because the server's backup solution accesses the shared files not through the cifs filesystem module. Which ...
0
votes
1
answer
59
views
Rsnapshot backup - how does it handle data?
I've set up my backup using Rsnapshot.
After 3 days I have this:
196 GB /backup
3 GB /backup/daily.0
191 GB /backup/daily.1
2 GB /backup/daily.2
Why is the 2nd backup the one with most data (...
1
vote
0
answers
127
views
Backup of KVM/virsh VM
I want to create backups of my running KVM VMs using virsh (qcow2). The VMs don't have snapshots, but in order to create a clean backup I want to create a snapshot, back up the backing file then ...
0
votes
1
answer
67
views
mksquashfs for root, `-ef` file contents
I am using mksquashfs tool to backup Ubuntu's root before reinstalling the system:
sudo mksquashfs / root.squashfs -ef "/home/admin/squashfs_root/exclude.txt"
But nowhere in the ...
2
votes
0
answers
64
views
Error in btrfs-receive when directory was replaced with subvolume
One the directories in my machine has a high turn-over of very large files, so as I was snapshotting the file-system, those files began to fill-up my hard-drive. I transformed it into a btrfs ...
0
votes
0
answers
319
views
using remote repository for backup with borgmatic
I use Borgmatic(version 1.9.5) in order to dump backups (fs & databases).
TODO this, I must create 2 backups repositories : local folder and cloud storage.
Into my machine, the archive is ...
1
vote
1
answer
230
views
When i try to backup remote server with rsnapshot it errors out with 255 code
Every time I try running sudo rsnapshot -v alpha I get this type of error(it errors for every backup entry I have):
ERROR: /usr/bin/rsync returned 255 while processing [email protected]:/etc/
...
0
votes
1
answer
310
views
How do I automatically do daily backups and on every shutdown, and restore them elsewhere daily and on boot?
Situation: three servers, primary (source of data to be backed up), store (storage for backup), secondary (target to restore onto).
I'd like to make sure that my workplace secondary always has data ...
0
votes
0
answers
26
views
How do I start the system from a vps backup?
I have an Ubuntu VPS backup from which I need to pull MySQL data.
I was trying to install mysql on my Arch linux machine and copy the /var/lib/mysql files from the backup to my system. However, I ran ...
0
votes
1
answer
81
views
Include only a subdir with Timeshift backup
With Timeshift, is there a way to include only a sub-directory?
Example:
Exclude /var but include /var/lib/libvirt/images
I've tried some combinations but doesn't works!
There is an example:
0
votes
1
answer
248
views
Rear backup configuration
Want to backup my datavg volume group to NAS drive using Redhat "Relax and Recover (ReaR)" tool. I need some help with the configuration file
#lsblk
sdb 8:16 0 100G 0 disk
├─myvg-...
1
vote
0
answers
86
views
Transferring tar data between servers started taking much longer
I have a nightly backup that transfers about 100gb of data from AIX server A to AIX server B using the following command in a script.
tar cf - ./DATA | ssh server_b 'cd /DISKCOPY ; tar xf - '
This ...
4
votes
2
answers
473
views
Optimize rsync when large files move around on the source [duplicate]
Say I have a large directory tree of large files on disc A. I backup that tree with rsync -a --delete /A /B. So far so good. Between backups there are some added files, some renamed ones, the usual.
...
0
votes
0
answers
24
views
Backup files only that are newer than a specific date? [duplicate]
I have made a backup B1 on my external hard drive on date D. This hard drive is now in a different location (not at my house).
Now I want to make a backup B2 on another external drive, but only of ...
0
votes
0
answers
93
views
High swap consumption during database backup with mariabackup
We are experiencing a swap consumption problem when backing up our database.
Every evening at 01am we run the mariabackup command and during the process swap usage rises sharply until it reaches 100% ...
5
votes
2
answers
2k
views
Does GNU Tar have a single option to get absolutely everything about a tree
I'm in a situation where I want the kind of guarantees of getting every bit of data and metadata about a tree of files that might normally require using dump/restore. I need everything uids, gids, ...
0
votes
1
answer
228
views
Acronis Incompatible with Kernel 6.8 on Ubuntu 24.04: How to Resolve?
I'm facing an issue with a production server running Ubuntu 24.04.
We use Acronis, but it only works with kernel 5.10 and earlier, while Ubuntu currently uses 6.8, which is not compatible with the ...
0
votes
1
answer
46
views
What files would be good to copy from main drive to backup drive
What files would be good to copy from the main drive to backup drive?
I have a script that compresses and sends files such as document,pictures,etc.
I have heard about copy /home/me/.
Would that be ...
0
votes
0
answers
57
views
Assistance requested with fixing a bash backup script for a Termux Linux Android tablet
BACKGROUND:
I have been endeavouring to update my Android tablet with different versions of this script and even before I set my mind on realising this script in particular and have been at it for ...
0
votes
1
answer
1k
views
Bash script to copy and keep x4 backup files (daily, weekly, monthly, six-monthly) in second directory
I have an application which is making automatic daily backups at 11pm in a directory dirA. Each backup is a single .tar file, and has an apparently random naming convention that I don't have control ...
1
vote
0
answers
79
views
Error while unziping a file from a pendrive from windows on linux mint
I recently (today) installed Linux Mint for the first time. I made my backup on a pendrive, but when I tried unzipping the backup file I made, it gave me the following error:
End-of-central-directory ...
0
votes
1
answer
140
views
Rsync backup is almost twice as big as source
I'm using rsync to back up my home directory:
time rsync -iia --append-verify --progress --exclude cloudDrive/ /home /usr/local/share/applications /etc/yum.repos.d /home/user/cloudDrive/Backups/"...
0
votes
2
answers
134
views
How to retrieve notes content without knotes?
Now that Knotes from KDE has been killed, buried, wiped from rolling release distros repositories, and also from my computer when trying to reinstall it while ignoring the situation, how can I get my ...
0
votes
0
answers
54
views
Can't update Déjà hub. Snap release is deprecated and might not receive updates
Thats what I tried after anything else:
snap refresh --list
sudo apt-get install deja-dup
"I had to end the process (either through kill or using the system monitor app), and I was then able to ...