Questions tagged [backup]
Backup is the activity of copying files or databases so that they will be preserved in case of equipment failure or other catastrophe. This tag covers restoring from backup as well.
2,583
questions
0
votes
0
answers
2k
views
Best way to backup data and settings before reinstalling ubuntu?
I want to switch from Ubuntu 21.04 to 20.04 LTS and was wondering if there is a way to backup my settings (e.g. Gnome extensions) and data (Directions and files) in a way which makes it easy to ...
0
votes
0
answers
125
views
Create Bootable Ubuntu O/S Backups
I have been searching for a backup tool that would allow me to create a bootable copy of the Ubuntu 18.04 Server (or higher) operating system image that is installed on any of my machines.
I come from ...
0
votes
3
answers
5k
views
How effective is Deja Dup backups?
I previously used windows and had Acronis TrueImage that took System Image backups periodically. I cannot find any decent System Image backup tool but Deja Dup backup seems to be promising. CloneZilla ...
0
votes
0
answers
175
views
How to open a file with a .backup extension in Lubuntu 20.04LTS?
I noticed that in my home/user folder there is a file called sda6.backup.
It is seen below as the first file on the right in the second row. How do I open it? (I have accidentally deleted some files ...
1
vote
1
answer
2k
views
Mysql directory path in ubuntu 20.04 tls
I have a backup of a database that is more than 500MB and I need to restore on a server, but every time phpMyAdmin give me error.
I want to restore it by uploading the file in my server then from ...
0
votes
1
answer
148
views
Backups of home dirs in the face of snap (best practices)
To backup all user data, it made sense for me to backup /home/user. I could opt-out by configuring different paths outside /home for big data like the bitcoin blockchain, Spotify cache or Steam ...
0
votes
0
answers
168
views
Recover files from previous OS after Ubuntu installation
So I installed Ubuntu 20.04 on a machine that was running Mint LMDE 4. After doing it, I realized I forgot to backup a folder that was in the Documents folder in the Mint OS.
Is that a way to try to ...
0
votes
0
answers
599
views
Bacula on Ubuntu 20.04
I setup a new Ubuntu desktop system, I called BACULA, to install Bacula to backup 3 other systems (TRISTRAM: Ubuntu, NANCY: Windows/10, MILLY: Windows/10).
Everything seems to be OK, but I have a few ...
0
votes
1
answer
2k
views
rsync hanging on large transfer
I'm attempting to backup a mounted drive on one system to another. In the past, we've used rsync which has mostly worked (but perhaps not always) but recently the source drive did not mount properly. ...
0
votes
0
answers
56
views
How to clear bad sector in an unmounted drive in ubuntu 18.04
I have a internal HDD which is perhaps failing and it shows HDD error at initial boot-up . Now I found that my drive is not showing up and making a strange buzz sound .its not detectable .I searched ...
0
votes
2
answers
848
views
Create a browsable rootfs image
How to create a browsable rootfs image in Ubuntu? E.g. that I can extract files that I need in a matter of minutes?
Have already considered dd and tar-gzing root fs, but both don’t answer the criteria ...
0
votes
1
answer
70
views
Backup in Linux [closed]
The data on the hard drive is 10GB in size. Know that every day the data in the hard drive will increase by an average of 5%. So to perform level 0 (full) backup on day 0, level 1 backup on day 5 and ...
0
votes
0
answers
389
views
Backup on Ubuntu with avoiding folder with particular names
I would like to do a backup periodically of my /home ""partition"" in cloud (Gdrive). The current back-up tool or program is used by Ubuntu to backup is Deja Dup and It doesn't ...
4
votes
1
answer
159
views
How best to copy just parts of a tar file
I'm retired but I used to teach at a university. I was supposed to destroy all records of student grades (it's a law), but I just noticed a bunch of my backups have years of my home directory from ...
4
votes
2
answers
14k
views
Backing up Linux using timeshift on an external hard drive
So here I just installed Timeshift on my ubuntu 20.04 LTS. As I was trying to set up the backup of my entire system using timeshift, it shows that I can only save backup data on my primary partition. (...
0
votes
1
answer
119
views
How to restore .config from backup?
I'm reinstalling Ubuntu after numerous problems. I backed up using Deja Dup. Restoring files went fine except for a backup called .config which says:
Could not restore following files. Please make ...
0
votes
0
answers
463
views
Which files to clean/delete that arent needed when making a disk Image
Before I make an image of an installation, I wish to clear files that not neccessary, like old log files, files that are created at boot, so when I compress the image, it does not add a lot of ...
1
vote
1
answer
208
views
Backblaze restore and verify not working (duplicity)
I have been using Duplicity to backup my home dir to Backblaze. Creating new backups appears to be working, but when I try to either restore or verify files, I'm getting the following error:
Attempt ...
0
votes
1
answer
431
views
Ubuntu default backup not working: duplicity-full.20220307T133808Z.vol3.difftar.gz
My first time doing a backup with the default backup app for Ubuntu 20.04 -it is not described anywhere, and there is no tutorial or description either - but it seems is the Deja-Dup app.
I have a SSD ...
0
votes
1
answer
256
views
Looking for simple backup program
I am looking for a simple backup program that copies just files to a second computer. I do not want cloud storage or timemachine capabilities. Just want something that will check a folder for new ...
-1
votes
1
answer
929
views
rsync doesnt copy permissions to external drive
a similar Q is asked here: https://unix.stackexchange.com/questions/229779/rsync-command-not-preserving-permissions. They suggest using sudo, but sudo makes no difference for me
the command i'm ...
0
votes
0
answers
255
views
Configure Back In Time to backup home folders regardless of who is logged in
Our home computer has two user accounts on it, one admin (user A) and one standard user (user B). I'm trying to use Back In Time to create regular, separate backups of each user's home folders (with ...
0
votes
3
answers
101
views
W10 Backup with documents, images, downloads...and Ubuntu?
I am pretty new using Ubuntu.
I have been convinced for years that W10( like all previous versions of W) is a space devourer. And due to the abnormal size of the OS, unnecessarily claims a lot of ...
5
votes
1
answer
2k
views
Simple Backup bash Script with nohup and rsync
I have the following simple command to start my backup process in the background with nohup:
nohup rsync -a /src /target &
I am trying to find a proper solution to capture the exit code and send ...
0
votes
2
answers
548
views
How to list files and folders backed up by Deja Dup?
I'm using Deja Dup to back up my data to Google Drive. Would like to know how to list all files & folders that are currently backed up. I don't think it's possible through the GUI, so I'm ...
6
votes
1
answer
11k
views
Using wildcards in "sources" for `rsync` command
I am trying to backup some files on another drive using rsync.
As a test case, I am trying the following command:
rsync -Rav --delete --stats /home/my_user/bin* "$dest"
This command will ...
0
votes
0
answers
1k
views
How can i stop Timeshift from changing my second ssd mount point
I have two SSD's in my laptop. One SSD is where my system lies, and the other is used for data/media storage. I have set up Timeshift to make three daily backups, and to save them on the ssd for media/...
0
votes
1
answer
375
views
ext4 FS image gets corrupted on first mount
I"m in the process of replacing my M.2 SSD with a new and larger one. I want to save an image of my existing partitions before I take out my old SSD so that I can refer to it when setting up my ...
2
votes
1
answer
327
views
Flatpak command in crontab do nothing on Ubuntu 21.10
I've the following command in my crontab to make automatic backups using FreeFileSync. It was working just fine on Ubuntu 20.04 but I've noticed it doesn't work anymore on Ubuntu 21.10.
30 12 * * * ...
0
votes
2
answers
1k
views
Backup: No space left on device. But space is there?
Ubuntu 21.10, graphical backup interface that comes with Gnome 40.4.0. I started getting "No space left on the device" when I am doing the backup. This happened after I added a few files ...
1
vote
1
answer
3k
views
Can I umount root '/' to make an iso file of root partition?
I have Ubuntu installed on /dev/sda1 and an external USB disk mounted in /mnt/backup.
I want to make an iso file of my /dev/sda hard-disk, and for this I planned to use
dd if=/dev/sda of=/mnt/backup/...
1
vote
0
answers
136
views
Writing to encrypted home directory from live USB [closed]
I want to replace my entire home dir with a backup. While not logged in, so I don't break things. It's encrypted and the backup is (unencrypted) on an external SSD. I plan to boot from a live USB and ...
0
votes
0
answers
1k
views
rsync pattern to include all files of specific patterns and exclude the rest, from all subdirectory tree
I mean to rsync some files of a subdirectory tree at dir1.
I am using
[dir1]$ rsync --itemize-changes --recursive --update --times --include-from="rsync_include.dat" --exclude="*" -...
0
votes
1
answer
132
views
ZFS: Backup a disk with mountpoints that conflict with backup computer?
I'm working towards backing up a laptop running Ubuntu on ZFS. I have a backup server also running ZFS on some ancillary volumes (not the root).
I made a snapshot of bpool today and sent it to the ...
0
votes
0
answers
980
views
Backup and restore ubuntu over ssh
I need to backup my ubuntu filesystem through ssh, save in pendrive, format and install. Can anyone point me how can I do that.
I think the steps are:
Connect to the server through ssh
Copy or create ...
0
votes
1
answer
35
views
How do I fix lag after restoring from tar file backup? [closed]
My Ubuntu laptop was having weird graphics problems, so I attempted to back up my files and reinstall to the partition without reformatting. I backed up my files into a second partition on my SSD by ...
0
votes
1
answer
743
views
How do I backup a failing disk?
I'm trying to recover some information on a failing disk. At this point, it won't let me log in(asks for a manual fsck run which gets stuck during runtime). I'm guessing I can access some of the files ...
2
votes
0
answers
415
views
rsync - change/modify date not correctly set
Since Ubuntu 21.10 upgrade, we have a rsync error of file date set
In Ubuntu 21.10 : rsync 3.2.3-4ubuntu1 -> change and modified date are not copied during sync in most files
In Ubuntu 21.04 (and ...
0
votes
1
answer
1k
views
Backup of Windows 10 (nvme) with DD
I am a complete newbie when it comes to using DD so please bear with me. I have a brand new laptop HP 250 G8, it has a NVME SSD disk in it. It comes with a preinstalled Windows 10.
I wanted to backup ...
1
vote
1
answer
930
views
Creating reliable snapshots of Linux system
I've used preinstalled Backups program as well as Timeshift.
According to this https://linuxmint-installation-guide.readthedocs.io/en/latest/timeshift.html article Timeshift makes a snapshot of the ...
0
votes
0
answers
306
views
How do I force a drive to use the backup GPT table?
Every question and answer I can find appears to be the opposite of my current problem.
8TB NTFS USB drive (~85% full) connected to single boot Ubuntu 20.04 server, shared with Windows workstations via ...
0
votes
0
answers
452
views
Restore from Deja Dup backup on Samba share (a Synology NAS)
I use Deja Dup to back up my Ubuntu system to a Synology NAS mounted as a Samba drive. Today I did a fresh installation of Kubuntu, and now I want to restore my files from backup. I can mount the ...
0
votes
1
answer
67
views
Windows Installed apps transfer to ubuntu [duplicate]
I had backed up all my apps and software to a hard disk while switching from windows to ubuntu. I'm a beginner and I have no idea how to transfer the backup to the new operating system and reinstall ...
0
votes
0
answers
411
views
Cannot boot in Ubuntu after restoring Ubuntu using timeshift
recently I was using Ubuntu and I tried to delete a service called dconf-service which ended up breaking up my system
But I had used a app callled time shift which is a backup application for Linux
...
1
vote
3
answers
745
views
Is there a way to save/backup packages previously obtained using apt install from a now dead repository?
A while back I installed a TV server program called Tvheadend using a PPA. The installation instructions and the program were on the site tvheadend.org which now appears to be dead (as of about three ...
1
vote
0
answers
144
views
Deja dup with LUKS
I have my home partition backed up on an external hard drive via Deja Dup. This is my only partition except my boot partition. I’d like to enable LUKS on it, so would it work to just do it (which ...
0
votes
0
answers
31
views
Which top directories in Ubuntu do frequently change?
I'm using Kubuntu-20.04, and LVM2 partition.
Before installing some software, I'm afraid that the new soft get mess my system, so I often take a snapshot of the root volume.
But the root volume ...
3
votes
0
answers
399
views
Timeshift backup on btrfs partition fails with error when @home subvolume is included in backup
I installed Kubuntu 21.10 on btrfs partition. By default, it creates @ and @home.
I booted into my new Kubuntu btrfs installation, and indeed, I am able to make a Timeshift snapshot, just as "...
0
votes
1
answer
178
views
replacing host keys in /etc/ssh
I have a backup of /etc/ssh from previous ubuntu installation. In new installation of Ubuntu I would need to place host keys from previous installation to the new installation Can I just copy those ...
0
votes
0
answers
620
views
Sound not working from backup (wsl)
This is the output from pulseaudio -v.
It contains information about what may be essential to solve the problem 'no sound after restoring backup with wsl'. It seems that there is some connection ...