Questions tagged [restore]

The tag has no usage guidance.

0
votes
1answer
22 views

Can I restore my Linux Mint installation from external Timeshift snapshot after switching SSD?

I am using Linux Mint 19.1 "Tessa" on my laptop which has 120GB SSD. I want to change to a SSD with more storage. I know that with the Timeshift backup utility you can make a snapshot of the system ...
0
votes
0answers
4 views

Firehol filepath to restored firewall

FireHOL[27113]: FAILED to activate the firewall from /etc/firehol/firehol.conf. Last good firewall restoration: OK. Where is the restored firewall configuration? I find no hints neither in debug nor ...
0
votes
0answers
20 views

Restore Linux System from rescued root and home partition raw images

Because of a failing SSD I have rescued my root and home partition using ddrescue. The distro is Antergos. I know it's not supported anymore but I want to try to set up a system using these images. ...
1
vote
0answers
29 views

Duplicity full volume restore, missing some files and services

I'm using duplicity on Ubuntu Xenial for creating and encrypting backups and storing them on an S3 bucket (Scaleway). This is the backup script I'm using: #!/bin/bash source ./.scw-configrc HOST=`...
0
votes
1answer
31 views

criu: hello-world not working

I wanted to play around with criu, a project for checkpointing/restoring linux processes. For that I am playing around with the hello-world of criu, which is checkpointing and restoring a simple loop. ...
0
votes
1answer
25 views

Debian - Restore a Timezone File [duplicate]

So, I just screwed up a timezone file on my Debian system because I pointed it as a link to /etc/localtime vs. pointing /etc/localtime to it. Specifically, /usr/share/zoneinfo/America/Puerto_Rico. I'...
0
votes
1answer
69 views

I deleted my files with git rm, but i also commited them, how to get them back?

I ran git rm on some files thinking that they will be removed from the bitbucket repository, and i also commited them, after that i checked that they disapeared from the bitbucket repo, but they were ...
0
votes
1answer
58 views

Can I restore a Grub installation using dd?

I have a dual boot system with this partition layout: # fdisk -l Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors Disk model: SAMSUNG HM640JJ Units: sectors of 1 * 512 = 512 bytes ...
1
vote
0answers
81 views

Debian — XFCE4 panel backup [closed]

The problem is the following. I have xfce4 and I have configured my panels on my machine (source machine). I have an other machine (dest machine) running also under the same distribution and same DE ...
0
votes
1answer
70 views

How to restore partitions after renumbering?

I have read the posts and decided to follow it to do it, Change the number of the partition from sda1 to sda2, made by Joao S Veiga. I thought it would be light-risk because renumbering partitions ...
0
votes
0answers
32 views

mount: filesystem mounted but any subsystem operation failed: no such file or directory. — on OS load

My distro is ALt Linux with KDE5. I've got the following error on OS load just before the login screen: mount: filesystem was mounted but any subsystem operation failed: no such file or ...
1
vote
1answer
63 views

How do I backup Chrome OS?

I tried to use Acronis Backup & Restore Universal which boot form USB media, but it doesn't work. It doesn't boot from USB removable media. It looks like Chromebooks don't have a BIOS like normal ...
1
vote
1answer
34 views

restore under RHEL 7

Say there's an application that install to /opt/ directory. I update it with yum. I do a full server backup, that is all the file systems (/opt/ maps to the root directory). Now, I discover a bug post ...
0
votes
0answers
20 views

Backup OS and GRUB before changing distro

I'd like to change my current distribution to some other distribution - especially I had to do a lot of experiments and would like to clean it up a bit. Before starting migration though I'd like to ...
0
votes
1answer
549 views

Restore ZFS Pool and storage data after a system re-install

I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online. I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive ...
0
votes
1answer
91 views

How to restore the guest account in Ubuntu 18.04.1 LTS Bionic Beaver?

I have removed the guest account from the command-line using the command sudo sh -c 'printf "[Seat:*]\nallow-guest=false\n" >/etc/lightdm/lightdm.conf.d/50-no-guest.conf' How can I restore the ...
2
votes
0answers
133 views

tar restore --listed-incremental timestamp is in the future

I have some backups that were created using tar --listed-incremental features. When I restore the individual backups one after the other using tar -xf archive.tar I get no warnings but if I restore ...
-1
votes
1answer
44 views

Backup and restore clonezilla linux image into a new windows based laptop

my current office laptop ( that died recently ) is configured with dual boot windows/xubuntu, because company laptop comes by default with windows. Luckily the hard disk is fine. Now the new laptop ...
0
votes
1answer
53 views

backup with tar

I have found that I need this command to make a full backup of the Etc folder tar cJPf /srv/dev-disk-by-label-Share/Myfiles/$(date +%F)-$(hostname)-etc-tar.xz /etc/ But what command do I need to ...
-1
votes
1answer
66 views

Can I restore a Macintosh disk image using dd?

I have a clone of an entire Mac OS HDD that I created using dd, as: sudo dd if=/dev/sda of=/media/mint/backup/mac-backup.img I verified the integrity of the image at creation time using diff. Now I ...
-1
votes
2answers
174 views

Restoring a text (known_hosts) file

rm ~/.ssh/known_hosts Without doing a backup of this file Now file is empty, is there any way to recovery/restore this file ?
0
votes
0answers
30 views

Why can't I change directory to the current directory with permission denied? [duplicate]

I am trying to restore a database with the following command: $ sudo -u postgres pg_restore -C -d dvdrental dvdrental.tar [sudo] password for t: However, I am receiving the following error message:...
2
votes
3answers
3k views

How to restore the “Applications” menu of Ubuntu Mate 18.04?

I was editing menu (rearranging a few shortcuts) when something went wrong and the machine got frozen. Upon hard-resetting I found the "Applications" menu to be completely empty. No way to edit it as ...
1
vote
1answer
583 views

How to replace btrfs root subvolume with received snapshot?

I want to convert my existing full-disk btrfs (unpartitioned) filesystems to bcache. To do so, I need to move data around and reformat the drives. I have enough hdd space to do it in a couple steps. ...
0
votes
1answer
154 views

CRIU for non-root users

CRIU doesn't support in non-root user environment, to my knowledge. Does anyone have got a patch for this? -a Linux enthusiastic.
0
votes
1answer
241 views

Will tar overwrite my home folder

I'm using tar to backup and restore my Ubuntu system. For my Ubuntu system, I mount / to dev/sda1 and mount /home to dev/sda2. I want to backup or restore / without /home. To backup, I execute cd ~ ...
0
votes
0answers
567 views

rsync and NTFS external drive

I noticed recently that backups I have on two different NTFS-formatted external drives, that were supposed to be identical, are actually not. And none of them is identical to the data that's on the ...
1
vote
1answer
1k views

How to recover deleted files in Ubuntu 14.04 [duplicate]

Recover Deleted Fils in Ubuntu 14.04 Last night I made a horrible mistake on my Ubuntu 14.04 machine and I deleted the directory that contained my project's Javascript files. All the files where in ....
1
vote
0answers
39 views

rolling back a set of changes made from a certain date/time

We are trying to install an application on Ubuntu and RHEL, which requires a number of steps, for e.g. install Tomcat, deploy war files, make changes to routes, change configuration files etc. Often, ...
2
votes
0answers
27 views

Boot time has drastically increased after restoring partition

I have made a backup of my Linux Mint Xfce partition and I have restored it (all with "Disks" - gnome-disks) twice. (More here). The partition includes all the system (no separate partitions between /...
0
votes
1answer
75 views

Debian: I'm unable to log in + can't boot properly after system backup and restore

I used to copy my system/config files from lvm-based /dev/mapper/devuan--vg-root + /dev/mapper/devuan--vg-home partitions into external storage and moved them to a fresh btrfs partition after ...
0
votes
1answer
1k views

How to restore GRUB after restoring Debian from backup?

I need to make a backup my Debian VPS server and create it copies on Virtual Machines. I'm following instructions on page https://help.ubuntu.com/community/BackupYourSystem/TAR. Steps: I've done a ...
3
votes
2answers
432 views

How to restore permissions with BackInTime/rsync?

Apparently BackInTime, which uses rsync, doesn't just restore permissions when restoring files but also saves them separately to the data. Is it possible to restore permissions of specific directories ...
0
votes
0answers
222 views

I overwrote all libraries in /lib64 by accident, how to fix?

I accidentally used windows copy syntax when copying libraries from one folder to another: mv /usr/local/lib/libboost** /lib64/* This overwrote all libraries needed to run the system. The only ...
2
votes
1answer
513 views

dd image too large to recover

I made an image with dd sudo dd if=/dev/sda of=/path_to_external_drive/backup.img Now I wanted to recover the system after the mount of all partitions went smoothly. When I make sudo dd if=backup....
-3
votes
1answer
2k views

restore after “git rm”

I initialized git repo in some_dir_path with git init. After that, I decided not to include all files into repo and issued git rm -f. As I thought, it would remove all files from git repo, not from ...
2
votes
2answers
88 views

How could you possibly preserve file ownership in a backup (/etc)?

I've seen a number of sources suggest it can be useful to back up /etc. E.g. the presentation "Supporting Debian machines for friends and family". For any serious backup, we also need a well-defined ...
1
vote
2answers
127 views

How do you back up all settings and themes (not the files)

I have installed the Gmac distro which is like macbuntu with gnome. I have messed it up before and couldn't work out how to get it back to looking like a mac. I just want to backup the appearance ...
2
votes
0answers
317 views

What to do with extundelete recovered files

So, i accidentally delete my files. I attempt to recover files using extundelete with --restore-all options. Inside the RECOVERED_FILES directory i got files.xxxxx which i think is inode file. My ...
0
votes
1answer
524 views

How to backup GPT partitions and file systems only (no files/folders)?

For the purpose of disaster recovery we do wish to backup: GPT partition table, disk geometry (to restore to different sizes drives) and the corresponding file systems of each partition. For ...
1
vote
3answers
282 views

How to move OS image on a device to another device?

I am running CentOS 7 on a HDD disk drive. For some reasons, I want move the OS image on HDD to a new SSD. (Using SSD as data storage is not an option, for some reasons) How can I copy the existing ...
3
votes
1answer
403 views

LVM Volume Group MetaData Corruption - Please Help

I have a server that was set up using LVM. It ran for years just fine with out issue until about 10 days ago. When I tried to log into it, the server had crashed. When we look at the server using a ...
0
votes
2answers
52 views

Overwrote 60MB of mounted filesystem from other filesystem with dd

I had mounted ext4 filesystem (/dev/sdg1) and accidentally did dd if=/dev/sda of=/dev/sdg and CTRL-C after 1 second, so only 60 MB data has been transferred. /dev/sda1 has ext3 root filesystem. What I ...
1
vote
0answers
61 views

Back up boot records, partition metadata and data into a single archive file

Back in the days I have used Acronis (commercial software) which was great. You could create a backup of a hard drive which resulted in one single file. That file contained all the information ...
1
vote
1answer
62 views

Software reccomendation: diff based restore points

i'm looking for software that lets me create multiple restore points that allow me to go back to these points and have my system be in the exact same state as when these restore points were taken. I ...
0
votes
1answer
30 views

Restore files from external USB after deleting .git [closed]

I have 20 years of work on my USB. After deleting .git files. I ran this command in the terminal: sudo find . | grep .git | xargs rm -rf I lost all folders and files. When I look in Finder I was ...
1
vote
1answer
943 views

How can I keep permissions on original files when restoring backups with Duplicity?

When restoring files backed up by Duplicity, is there a way to keep the original permissions on the files extracted? I need to run the restore as root, and it seems that makes all the files restored ...
0
votes
1answer
158 views

How to backup a large multi-partition hard-disk towards a small one?

In order to help someone else to learn to get used to Linux -- and get out of the Windows version downward spiral --, I need to install Debian Linux GNOME exclusively on a Laptop. However, for the ...
0
votes
1answer
961 views

centOS: full file system backup and restoration [duplicate]

I have a dedicated server with centOS. I need to do a full system backup, save backup file on server and download a copy of that backup file to my personal computer (local computer in office). From ...
1
vote
0answers
337 views

BTRFS restoring snapshot

I've installed Elementary OS on BTRFS then made a snapshot to /home/BACKUP. Now I've did some things and I have to restore that snapshot. I've tried to set the default subvolume to the snapshot with ...