Debian :: Create Full System Backup To ISO / IMG-file
Jan 28, 2014I would like to create a full systembackup to a ISO/IMG-file. I've been searching and found mondorescue.org, but something is wrong with package for debian 6.
View 14 RepliesI would like to create a full systembackup to a ISO/IMG-file. I've been searching and found mondorescue.org, but something is wrong with package for debian 6.
View 14 RepliesWell I've decided to move all my data from one VPS to another, and Iwanted to know if there was a way from within Ubuntu to make a full system image backup,ch I can then just transfer to the new Ubuntu VPS, and restore it there ..Unfortunately my VPS control does not have any working backup option right now, so I can only make the backup manually from within Ubuntu, if there is a way to do it
View 9 Replies View RelatedAttempting to create a backup script to copy files from one file system to a remote file system.
When I try this I get:
Quote:
# tar -cf - /mnt/raid_md1 | gzip -c | ssh -i ~/.ssh/key -l user@192.168.1.1 "cat > /mnt/backup/fileserver.md1.tar.gz"
tar: Removing leading `/' from member names
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: Could not resolve hostname cat > /mnt/backup/fileserver.md1.tar.gz: Name or service not known
[Code].....
I know that the remote file system dir is RW and the access is working fine. I am stumped...
I want to back up an entire Linux system on a 3Tb external Western DIgital USB3 drive.
I do not want to reformat it from what it is, apparemtly NTFS.
Is there a utility that can act like a file manager like mc, that will permit me to create an ever expanding (to 320Gb) TAR file that will retain all the original file permissions. I have had nothing but disappointment with Linux backup utils with a FAT32 external drive, and I am concerned if I just try an tar the entire drive at once, with around 3 million files, I might run out of memory.
I launch a mdadm grow to expand my filesystem but I forget --backup-file.I have my server running and one UPS.
Code: Select allpk25.com:~# mdadm --manage /dev/md0 --add /dev/sde1
mdadm: added /dev/sde1
pk25.com:~# mdadm --grow --raid-devices=5 /dev/md0
mdadm: Need to backup 3072K of critical section..
pk25.com:~# mdadm --grow --raid-devices=5 --backup-file=/root/md0-grow.bak /dev/md0
mdadm: /dev/md0 is performing resync/recovery and cannot be reshaped
[code]....
I just moved to Ubuntu. I have been configuring and installing applications so I can finally call this OS my new home. Still not there yet but have been doing alot of work on it. I was originally with Windows XP. I am a back up freak. I backed up my documents, firefox bookmarks and other important information every 5 mins to another drive when I was using Windows XP. Also, every 24 hours I would have this program Acronis True Image back up the whole Windows partitiong (Drive C). This was so if my hard disk died, I know I could restore the partition from an image and only lose the last 24 hours of configurations/modifications made to the OS.
And for personal data such as bookmarks, messenger chat logs, documents, pictures etc, I would only lose the last 5 minutes of this data, since it was always backed up every 5mins. It was very fast too.
So my question is: 1. Whats the best application to save a whole image of the Ubuntu partition so that it can be restored with minimal (hopefully only 24 hours) of data loss?
2. Whats the best application to save selected directories and have it configured such that those directories are backed up periodically?
3. Whats the best application to do Number 2 (above question) with versioning? That is, if it is backing up periodically, it will save file changes, so we can revert back to an older version of a file.
I have tried SimpleBackUp suggested by the Ubuntu site and did not like it at all. It just said it would run in the background and you couldnt even cancel it or monitor it!
I'm setting up a Backup & Media server, which will be running debian. I will setup a small HD or SSD/CF card for the OS, and a MD raid for the data drives.The total size of the raid will be either 3 or 4TB, depending. Now, I need to figure out what filesystem to use on top of this raid.My criteria is as follows:
1. Support for large files. I can't imagine anything larger than about 1.2TB, but the 4GB of, say, fat32 just isn't enough.
2. Robust. I don't want it falling apart on me; nothing too unstable.
3. (and this is most important): Good Undelete support. I got burned recently when a software glitch managed to rm -rf my EXT4 drive. All the file data is still there, but all the metadata is gone. I *DO NOT* want that happening with this. I want to be able to do a "RM / -RF", immediately unmount it, and then recover *all* of the deleted data. Obviously, when data is overwritten it's overwritten, but I don't want to lose all my metadata if a "RM -RF" happens. FAT-32 is the model I'm looking at: You can usually recover deleted files if anything happens to the drive.
So, what are my options?EXT2 looks like a possibility. EX4 is *clear out*, unless there's some nice utility/mode that keeps a backup of all deleted metadata etc.
I want to be able to recover from a disaster by simply inserting a CD of my entire system, boot from it, and reinstall my system back to the way it was before the disaster. After much research here, I feel the need to ask this question directlybut as a new user, I find it somewhat difficult locating information.
I have seen references to all sorts of backup software. I am trying to use Simple ackup.Each time I run this utility, it gives me a process ID and then apparently vanishes. I don't see the process running in System Monitoror see anything recognizable in var/backups.Perhaps, being as new to Linux as I am, I am simply overlooking something. I must say though, that these are the friendliest user groups I have ever seen. It amazes me that so many people are so willing to post long, complicated solutions to someones problem
I wonder if I can backup files from an ext partition to a ntfs partition and keeping all kind of metadata and file infos?!
With other words:
Can I backup a full linux system from a ext file system to a external ntfs partitioned disk using rsync -a (keeping all file permissions)?
Is something getting lost of a file (like permissions or anything... flags...) when copied / rsynced from ext to ntfs?
The thing is, that when I restore the stuff back from ntfs to ext, can I still use my system properly?
And can I backup files like photos from ext to ntfs without loosing any meta data?
Or asked more in general: What is the difference of a file on a ext partition compared to the same file on a ntfs partition?
I have a problem with a script i wrote, the script runs fine if manually executed however it doesn't run *fully* when executed via cron
here's the script :
Code:
#!/bin/bash
FILENAME=mysql_full_dump_`date '+%m.%d.%y'`.sql
`which mysqldump` --all-databases -uroot -p************ -h127.0.0.1 > /root/$FILENAME
RETVAL=$?
[code]....
the script resides in /root/bin and the cron entry is as follows:
Code:
0 0 * * * root "/root/bin/mysql_daily.sh"
the result is the .sql file, but it doesn't archive it.
This question has been raised several times I am sure but...
I would like to create a FULL recovery CD/DVD of my system with a boot restore...
Any recommended for Ubuntu 10LTE Server.
This script simply deletes files older than a certain age (in this case 7 days) from a certain location; I use it to purge old backups nightly, and it works as expected:
# delete backups older than 7 days
find /mnt/backup/* -mtime +7 -exec rm -Rf {} ;
The problem is, every morning I get an email with an error message something like this:
find: `/mnt/backup/subfolder': No such file or directory
I'm trying to create backup/archive my Ubuntu 10.04 system files (so I can restore it in case my system get corrupted). More specifically, I'm trying to zip the important files in my root directory not including my home directory (which includes my documents which I backup separately/more frequently) to an external hard drive attached via USB (called 'My Book').
Since File Roller didn't give me quite the level of control I was looking for, I created a script that I could execute to backup and archive regularly. Here's a snippet:
cd /media/"My Book"/"Linux Backups"
NOW=$(date +"%b-%d-%y")
LOGFILE=Backup_Root_FileSystem-$NOW.log
sudo zip -r -T -v Backup_Root_FileSystem-$NOW / -x /media/'My Book'* /media* /proc* /sys* /mnt* /dev* /cdrom* /home* /'lost+found'* | tee -a $LOGFILE
[Code]...
I've recently started using Ubuntu as my main desktop operating system and I'm looking for a backup solution that is able to backup not only my documents and various other files that I have on the system, but I also need it to backup and create restore images for the operating system.
View 3 Replies View Relatedi ma trying to learn how to configure lot of server's in Debian Distro what i want to to create backup from the original files easy to restore cos if i miss any configuration it will easy to restore omething like restore point in windows
View 6 Replies View RelatedLike topic, I want to create a weekly backup of some folder to anoter partition (or external usb), compressed or not (folder also of 20/30 gb), with only root permission on file (or folder) created..This system, where I have installed debian jessie, is always on being used like a NAS..
View 1 Replies View RelatedIs it possible to create a backup iso image of protected DVD using dd command?
View 6 Replies View RelatedHow do you create a cron file that will regularly perform a level 0 backup once per month?
View 2 Replies View Relatedokay, I've gotten a bit overzealous and now my file system is getting a bit full. I found some candidates that may need to move out, just, are they still needed elsewhere?I'd use Quote:pacman -Sr simgear...but what is that stuff is needed elsewhere?
View 2 Replies View RelatedI use clonezilla cd live to backup my Debain Squeese O.S.,
there is the possibility to create a warm backup (clone disk) of O.S. without restart the computer ?
basically want i want to do is copy my whole file system to a different hard drive, then reconfigure my partitions and copy it back. then reconfigure grub.
the reason i want to do this is when on dual boot i gave it only 70gb of space and now i want to add 300 more. and since the 300gb of space is a primary partition and this is a secondary i cant extend them or combine them.
so what i want to do is. sudo cp -rP / /home/me/sshfs-folder
also i have raid 0
O/S: Fedora 12
I am newbie in linux. What I want to do is: Make backup for my file system, cos I learn how to configure servers. So if I made some thing wrong, I want to be able to restore the default setting for my files. Instated of install new O/S.
I can't login due to my file-system being full. I found the main area with the large usage. Var/log is taking 99.5% of my var folder. On a full file-system scan Var/log is taking up 85% of disk use. File-system capacity is 36 gig. Temp is cleared after each boot.
What can I do to clean up any unnecessary files. I can only boot in safe mode and have limited navigation skills. To get scan results I booted a live-disc.
Opensuse 11.2 gnome 64 bit.
I come from a PCLinuxOS tradition (about two years), and a great full backup program was mklivecd, where I would use a GUI to make a bootable livecd/dvd with all my system which was handy in case something went wrong. Every week or so I would create a DVD ready for emergencies. After looking at the options in Debian (using Squeeze, and very happy with it for a few months now), I'm wondering if there is something similar. Remastersys, it seems, doesn't work with GRUB2 (only with GRUB-legacy), and Partimage makes images, not bootable CDs/DVDs. What is your full-backup/bootable system strategy, something, if possible, as easy/straightforward as mklivecd?
View 8 Replies View RelatedSystem76 laptop, 10.04, 320GB HDD, VMware with Win7 in one VM; want to use Clonezilla as am using it to back up (bare metal backup image) another older smaller dual-boot Ubuntu/XP machine. This System76 laptop is a work machine that I control; the Win7 VM only does a couple of things but they're necessary for work and I don't want to lose the configuration. The reason for the bare metal backup is so if I have to, I can restore and get back to work - something I've had to do on some previous occasions back when I used Windows. Data is no problem - I back that up separately on an hourly basis.
My question is what FS to use on the backup drive; for instance, for the dual-boot XP/Linux work machine I'm currently backing up, I'm using a 30GB external HDD formatted in FAT32. That's OK because 30GB is below the limit for FAT32. But for the newer laptop I'll need a much bigger backup partition. I chose FAT32 for the old one because I know everything on the computer being backed up, Windows & Linux both, is compatible with it. But what FS should I use to back up the new laptop, considering that I'll be backing up the Win7 VM as well as the main Linux part of the machine? I plan to use a backup partition of about 160GB. Could I format it NTFS and have it work with Ubuntu 10.04? Or, conversely, if I format it EXT, will it back up the Win7 VM OK?
I plugged in my USb drive into my computer yesterday and tried to delete a folder. I was unable to do so and got the following message
Cannot move file to trash, do you want to delete immediately? The file "my file" cannot be moved to the trash. Show Details Unable to create trashing info file: Read-only file system
So when I click on delete I get another error message:
Error while deleting.
There was an error deleting Case Study Database. Show Details Error removing file: Read-only file system
At this point I can only click on Skip, Skip All, or Cancel.
I have not changed anything on the stick recently so I dont know what is causing the problem.
I am setting up a mail server on debian. Once it's done, I'd like to have an indentical server on another machine, where debian will also be installed. The solution has to be hardware agnostic, so source machine is different than destination machine. I was reading on some wiki page that one can simply copy the root filesystem via rsync to the computer that he'd like to install the system on, then chroot to it and test if everything works. I'm guessing I'd have to change a couple things before, like :
- The network config
- The /etc/fstab file (disks and partitions may be different)
This article is about using rsync to transfer a copy of your "/" tree, excluding a few select folders. This approach is considered to be better than disk cloning with dd since it allows for a different size, partition table and filesystem to be used, and better than copying with cp -a as well, because it allows greater control over file permissions, attributes, Access Control Lists (ACLs) and extended attributes. [1]
All my torrents go to my home/username/Download/ folder, I could read/write yesterday but now I cant even copy the files to a flash drive.The error i get is "Cannot create regular file '/home/username/Download/file' : Read only file system.
View 14 Replies View RelatedDoes the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?
View 1 Replies View Relatedformatted a 64g usb memory stick with gparted use fat32 file system and recognized full 64gig drive plug in and is on /media/usb this is what i got on my fstab UUID=24AF-1E67 /media/The-Hive defaults,nosuid,nodev,locale=en_US.UTF-8 0 0 i want all user access to this memory stick to write delete and execute. am I going nuts i cant make it to do that..
View 2 Replies View Related