Questions tagged [restore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

Which OS will be reinstalled with a factory reset from a dual boot?

I have a computer that had been installed with a dual-boot. Currently, there is when I start a grub kernel that handles two OS on multiple partitions (sda1 to sda4): Ubuntu Windows (with some remote ...
1
vote
2answers
81 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
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
vote
1answer
51 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,...
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
1answer
30 views

xfce4 + i3 are not properly restoring saved sessions?

I'm using manjaro with xfce4 and i3 as my wm. So far so good, the problem that I'm usually facing is that whenever I logout from my current session and log back in all my apps are closed and the ...
0
votes
0answers
23 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
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....
0
votes
1answer
34 views

Why use tape for restoring AIX mksysb instead of other ordinary drive devices?

I'm intrigued by the fact that the only way to restore a mksysb backup on AIX Unix systems can be done either by using a NIM server or by manually using a tape. Why is it that you cannot replace the ...
0
votes
0answers
7 views

Can be the snapshots made by Snapper used in LiveCD?

Restoring root system by snapper in openSUSE KDE just made my OS crashed so maybe it can be used in LiveCD. Snapper will create some snapshots in the .snapshot folder, they can be used in command-line ...
-1
votes
1answer
30 views

How to do linux snapshots similar to VirtualBox guest snapshot?

I'm still learning how linux works so I'm constantly making mistakes, installing packages in the wrong way and whatnot. A good way of solving this is using VirtualBox and just taking snapshots from ...
0
votes
0answers
44 views

“Backups” (deja-dup): after installing duplicity 0.8 from source, “Backups” can't find it

When using "Backups" (a.k.a. deja-dup) - it doesn't find duplicity, although it's installed: I have been trying to backup using "Backups" (a.k.a. deja-dup), and it turns out that the current ...
2
votes
3answers
594 views

How can I create an image of a partition (ext4) and later mount it to browse/restore files? [duplicate]

I'd like to backup my current Debian 9 server OS partition so I can install a clean version of Debian 10. However, after installing Debian 10, I'd like to mount my old OS image so I can browse and ...
2
votes
0answers
166 views

Restoring Android “userdata” partition from an eMMC - Unknown filesystem

I have successfully dumped an Android (7 or 8) filesystem from an eMMC chip into file sony_xa1.img using dd. I'm able to mount the system partition but not userdata. Using $ sudo losetup -Prf ...
3
votes
1answer
41 views

Restore a removed file when still in use

Is there a way to restore/recover a removed file when it's still in use?
1
vote
0answers
117 views

How to fix my partition after mistaken gpart bootcode?

I was trying to make my HDD bootable and did gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1 and now I got "Invalid partition" message on boot. /boot was from USB drive, not from HDD (...
0
votes
0answers
44 views

How to restore files with it's folder structure

Even the famous data rescue software photorec can only restore files without any folder structure, with so many rescued files listed, you are hard to know where the file was, compare to Windows ...
-1
votes
1answer
468 views

updates.sh - Command Not Found - Arch linux

I installed Archlabs 1 month later, today I noticed bin folder in ~ directory and Deleted it. After Reboot This errors Came out in polybar /bin/sh: updates.sh: command not foun And /bin/sh: ...
1
vote
1answer
745 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
5 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
24 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
131 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
59 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
172 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
341 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
472 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 ...
0
votes
1answer
87 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 ...
1
vote
1answer
156 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
55 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 ...
3
votes
1answer
3k 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
253 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
227 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
90 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
114 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 ...
0
votes
1answer
587 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
320 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
58 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
4k 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
918 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
231 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
375 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
1k 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
78 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
29 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
83 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
593 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
286 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
642 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....