Debian :: Backing Up With CP Command

Nov 9, 2015

Debian Jessie XFCE. I use this script to periodically back up my home directory to an external drive:

Code: Select allcp -R -u /home/albert/* /media/albert/"Expansion Drive"/albert/

The configuration files, for example .icedove, are not copied. Can I modify the cp command to include them also?

View 14 Replies


ADVERTISEMENT

Fedora :: Backing Up Evolution From Command Line

Jan 27, 2011

I have a couple of backup scri ts. I use a rather cumbersome method to backup evolution. I finally realized I can backup evolution easily from its File Menu. Can I do this directly from the command line, so that I can use it in a script?

View 2 Replies View Related

Debian :: Backup2l - Backing Up To DVD?

May 27, 2011

After looking around a bit I started using backup2l to generate backups on my local disk.

It also brags about:

An integrated split-and-collect function allows to comfortably transfer all or selected archives to a set of CDs or other removable media.

View 1 Replies View Related

Debian :: Backing Up Configuration Files Using BAK

Mar 30, 2014

Before I used to make a copy of configuration file and give the end of the file name as 'something.conf.bkp' . Later realized it was a mistake. The correct wording should end in .bak and not bkp .

As per (See apt.conf(5) manpage, section DIRECTORIES, last paragraph.)

The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which end with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.

View 7 Replies View Related

Debian :: Disk-space Miracle When Backing Up /etc?

Aug 8, 2010

When i backup my /etc-directory with rsync it is 1.7MB big.I checked etc. It is about 65MB.Oh...I figured out that the most big dir under /etc is "alternatives", say 55MBI unpacked the etc_backup.tar.gz. It is about 65MB.I pack it back together: 1.7MB.btw: if i do ls -hl i always get 4.0K . To check the size of directories i need to use a filemanager. That sucks. A tip?

View 7 Replies View Related

Debian :: Backing Up The Full System Onto A Bootable CD/DVD?

Nov 10, 2010

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 Related

Ubuntu Multimedia :: Backing Up A New DVD?

Mar 24, 2010

I've been putting my DVDs onto my home network for a while without any probelms until now.When I put in Doubt and try to rip it, the title tree (in both K9 and DVD::Rip) shows several titles of a large filesize and the same time duration (that of the film). About three of the multiple titles are exactly the same file size and duration and then there are about 3 more that differ slightly in both.

I think this must be some kind of anti-piracy measure. Obviously 6 files of 5 GBs wouldn't fit on a DVD so it must be some kind of error/trick. When I try to backup the DVD it doesn't work. Has anyone else experienced this problem?

View 3 Replies View Related

Ubuntu :: Backing Up With Rsynch?

May 21, 2010

I've got a lot of photos, home movies, documents, etc on my machine (currently running with ubuntu-10.04-desktop-amd64) and i've had issues in the past with hard drives failing. fortunately i've not lost anything substantial as all the important stuff was recovered from backups i had made with blank DVDs.my last desktop rebuild was about 2 years ago and i decided that using blank DVDs to back things up was no longer practical as they're too small and the amount of data i need to backup is too large.hard drive storage used to be quite expensive but they're getting cheaper and cheaper all the time. i bought 2 pretty large, identical drives for($70) each.my machine has 3 hard drives in it. the first is a small solid state drive with the operating system on it, the second has all my data on it (mount point is /data) and a third to backup the stuff i don't want to lose (mount point is /backup).i use the following script to automatically make another copy of all the stuff i want to backup onto a second drive.

Code:
#!/bin/sh
rsync -av --progress --delete --log-file=/home/paul/.backup_logs/rsync.home.$(date

[code]....

this is automatically run at 9pm every night as a root cron job.the 2 lines that begin with "rsynch" do the actual work of backing up my data. the 2 lines that begin with "chown" are just for convenience. they change the owner of the backup log to myself so i can easily delete them without being hindered by ownership issues (the script is run as ROOT so the logs are created, and therefore owned by ROOT).i originally used this article to help set it up in the first place.it explains the process with a good degree of clarity and i can recommend it to anyone who would like more info on this technique.i'm not too worried about losing my system as all the configuration files in the home directory are backed up.it doesn't take too much effort to rebuild the system but it's the personal data that is much harder to replace.

if the data drives fails i will be able to replace it and restore the data from the backup drive. if the backup fails i can just throw it away and make another backup. this whole strategy is designed to guard against a total drive failure. it offers no protection against accidental deletion of files except for the small window between the deletion and when the script is run (anything deleted from the data is also deleted from the backup the next time the script is run).i've only really experienced hard drive failiure 3 or 4 times.the last time the computer started doing all sorts of wierd stuff and i didn't understand the issues involved.

View 4 Replies View Related

Ubuntu :: Backing Up To A Ftp Account?

Jun 17, 2010

I have a couple of important directories that I want securely backed up to my ftp server. backup software that is opensource, and that could work on both linux and windows?

View 6 Replies View Related

Ubuntu :: Backing Up Through Live Cd?

Oct 27, 2010

I was updating my laptop from 10.04 to 10.10 and the fan stoped and the laptop overheated and shutdown in the middle of the update. So now I cannot use Ubuntu till I reinstall, but I was wondering if someone knew how to back up the homefolder through the live cd with permission to copy every file that is on their because the important files are the one I need permission for.

View 2 Replies View Related

General :: Backing Up Audio CDs?

Feb 11, 2010

I like music A lot! every CD I buy, I like to rip to my HD as WAVs (i'd do flac but I have a windows system too, and can't for the life of me find a flac codec for Media Player); but I'd also like to create images in case i lose / scratch / otherwise damage my CDs. I usually use DD, but the system has to be unmounted. Problem is IDK where audio CDs are mounted so I can't unmount it.

View 6 Replies View Related

General :: Backing Up System With Two HDs?

Sep 5, 2010

I have a Seagate USB drive that I'd like to use as a backup drive for my home system with two drives. One drive contains /home and /root, the other contains /var. I've read about a lot of different software for backups but I'm not really sure which one would be the best for this. I want to be able to use this backup to restore the system just in case something happens. What would be the best software to use for this? I'd like something that will basically clone the system I assume since I'd like it to not only copy the system structure but also symlinks.

View 5 Replies View Related

General :: Best Format For Backing Up Data In Blu Ray

Jan 25, 2010

We are in the process of backing up our hard drives to Blu Rays. I am creating tar.gz files and burning them to Blu Ray.Is it possible to use a simple (preferably Python-based) solution for creating images of those tar.gz files, of a predetermined size (to fit in the Blu Ray), and simply burn this images to the disc?Do you have any other approach for creating physical back-up of your hard drives?

View 1 Replies View Related

General :: Backing Up The Master Boot?

Mar 23, 2010

I want to back up the master boot on my hard drive, in case something screws it up. What software do you recommend for this?

My first idea is to boot from a Linux CD and dd the first 512 bytes of /dev/sda, and dd it back to recover. Will this solution work, and is it safe?

View 1 Replies View Related

General :: Backing Up To Smaller Drive?

May 24, 2010

In a few hours I'll have a new 500GB Sony laptop, filled with the usual Sony rubbish which I'll promptly be replacing with Ubuntu or Crunchbang or something. However, first I want to make a full clone of the drive (including recovery partitions), should I wish to return it to Sony or sell it on in its factory state.

The problem is that the only backup drives I have are less than 500GB - the biggest I have is 250GB or so! So I need to backup and compress on-the-fly.

What's the best way to do this? Presumably dd piped into gzip would do the trick, or does anyone have any other suggestions to accomplish this?

View 3 Replies View Related

General :: Backing Up Windows 7 Programs?

Aug 24, 2010

I want to do a clean re-install of Windows 7 but there are files and installed programs which need to be backed up and restored. I tried using the Windows 7 backup utility to do a full backup to an external usb drive. The problem is that whenever the backup gets close to finishing, it always crashes. The system I am backing up has been compromised by viruses, which might be causing this. I already used several utilities to get rid of the viruses but some of the damage they did can not be undone. I tried doing the backup in safe mode but Windows 7 does not allow this. What other methods can I use to backup and restore important programs and files on Windows 7? Perhaps there is a way to do it from outside Windows 7, like say, using a Linux live cd? One of the main problems I see is restoring installed programs since those make use of the registry so simply copying the files probably won't work.

View 3 Replies View Related

General :: Backing Up 80G Hard Drive 1G Per Day?

Dec 16, 2010

I want to securely backup my 80G HD, but doing a complete backup takesforever and slows down my machine, so I want to backup just 1G per day. Details: % First hurdle: on the first day, I want to backup the "first" 1G of the hard drive. Of course, there really is no "first" 1G on a hard drive.% After 80 days, I'll have my whole HD backed up... assuming none of my files ever change, which of course they do. So the backup plan/program must also catch file creation/changes as they come along. % The backups must be consistent, in that I can restore my system restoring the backups sequentially. In other words, "dd if=/harddrive" probably won't work.

% The backups should encrypt file contents AND names, but I don't see this as a major hurdle. % Once the backup has backed up everything (even changed files), it can re-backup the first 1G on my hard drive. Even though this backup is redundant, that's OK, because I always want to be backing up something (eg, if I'm backing up to optical media, the older media might start going corrupt). Is there a magic backup plan/program that does thisIn reality, I want to do this for multiple machines drives each, but think that solving the above will solve the general

View 4 Replies View Related

Ubuntu :: Backing Up A Hard Drive?

Feb 9, 2010

How would one go about backing up a hard drive? I want my Windows hard drive to be backed up, so that I can restore it onto the hard drive if the hard drive was blanked.

If this hard drive is formatted and linux is installed on it, I want to be able to restore my current Windows partitions (Win 7 and Win XP) and probably the boot loader. I am sure this is possible, but what would be the best way to go about it?

View 5 Replies View Related

Ubuntu :: Backing Up Files Changes Permissions?

May 14, 2010

I did a clean install of 10.04 over the weekend and copied all of my backed up files from my external drive back to my internal drive. However, I've noticed that when I moved all my files back, they're all now marked as being executable. I've since fixed this, but I was wondering why this happened to begin with?

I use rsync to backup my files (grsync to be exact), but when I do so I copy files from my internal drive, which is formatted as ext4, to my external drive, which is formatted as NTFS (I keep my external drive as NTFS in case I need to hook it up to a Windows machine). Does the file system discrepancy have to do with why my permissions change when I backup/restore my files? Is there a way to prevent this? Or should I be backing up my files a different way?

View 1 Replies View Related

Ubuntu :: Clonezilla Live CD Not Backing Up

Sep 5, 2010

I having some problems backing up my disk with Clonezilla Live (the Ubuntu 10.04 version). When I try to backup my disk, I get this error:

Quote:

C:bitmap count err, Free: 3596613
Checking free space...
(standard_in)1: Syntax error
Something went wrong!

This is after partclone checks the drive that it will put the backup on. It stops at 97.86%.

I always get this error every time I try to do it.

View 9 Replies View Related

Ubuntu :: Backing Up The Perfect System?

Oct 23, 2010

have you ever set up the perfect ubuntu , all the softwares,games,libs,customizations... and wanted to back it up so if anything happens in the future you could just go back to "perfect one" ?

View 1 Replies View Related

Ubuntu :: Backuppc Not Backing Up Client?

Oct 28, 2010

I have been struggling to get backuppc running and finally today figured out what I was doing wrong. Backuppc is running on my Ubuntu 10.04 server. I have it backing up my mac, but I can 't get it work on my Ubuntu 10.04 desktop. I followed the same steps I used in getting it to work in my mac, so I can't really see why there is a discrepancy. This is the error log I'm getting now:

Code:
full backup started for directory /
Running: /usr/bin/ssh -q -x -l root 192.168.1.120 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /
Xfer PIDs are now 14404
Read EOF: Connection reset by peer
Tried again: got 0 bytes
Done: 0 files, 0 bytes

Got fatal error during xfer (Unable to read 4 bytes) Backup aborted (Unable to read 4 bytes) Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0) The dreaded 4 bytes error. I was getting that problem before on my mac, but from what I've managed to find, this error usually shows up when you don't have ssh keys set up properly. Once I got that figured out, it started working on my mac. I can confirm that that part is set up because when I execute the following as the backuppc user on the server:

[Code]...

View 3 Replies View Related

Ubuntu :: Backing Up A Gedit Configuration?

May 4, 2011

I have a heavily configured gedit on one of the machines on my network. I am looking for a way to back up all of the settings so that I can restore them later and/or move them to another machine on my network.

View 1 Replies View Related

Ubuntu :: Recently Understood The Value Of Backing Up?

Jun 15, 2011

I've recently had to reinstall Ubuntu and start fresh 'cos I messed thing up luckily enough I had a pen drive handy to transfer my important docs, but man it was a pain to get all the docs back in there right places - I don't fancy much doing it again! What I'm looking for is some software that'll back-up my home folder, yet I'm having a real difficult time finding something suitable. I'm looking for something that may:

Auto schedule backups Retain file permissions Options for excluding particular file extensions i.e. .avi, .mp3 etc Is there any software that'll do the job?

View 5 Replies View Related

Networking :: Backing Up Between Differing Systems?

Aug 15, 2010

I currently have 2 laptops which share a wireless connection to the internet and would like to be able to set things up in order that I may backup data from both to a desktop system. My laptop which is the prime system and the desktop both are using Ubuntu 10.04 as their OS whilst the other laptop uses Windows XP. Up until now I have been copying data from the Ubuntu laptop to the desktop by the use of an external USB hard drive. Similarly the data from the XP system is swapped about between machines using this method.

Ideally I would like to find a way where I can backup data from both laptops to the desktop without involving the third party (the USB drive). What would be the best way forward to achieve this aim. Data from the Windows system will be either OOo or Jpgs so compatability should not be a problem. Using the desktop I would wish if possible to be able see what is on the system without the need of having to continually having to connect a monitor to it.

View 6 Replies View Related

Networking :: Best Way For Backing Up Availability Of Server?

Jun 2, 2010

At my work, we have an ISP that provides us with 2 connections with different IP addresses but at the moment they don't switch automatically if one fails, and can only work for outbound traffic.I tried to automate this with floating routing table on a CISCO 1711 router but then switching to the second link only happens when there's no longer a signal on the cable that's plugged into the router's interface directly -- and the failure most often happens somewhere in the middle. And that also does not make us available from outside.

Can anyone suggest a better way? Maybe an outside DNS server can have a second IP address recorded for our domain name?I found somewhere suggestions that a loadbalancer could solve that but these appliances are way too expensive.I also thought about using BGP but my router's RAM (128MB) is too small for the global routing table that BGP requires. And I also need an ISP (or better 2 ISPs) that provide BGP service. Before trying to convince others that we need to invest more into this, I'd like to know whether there are no easier ways.

View 6 Replies View Related

General :: Backing Up Vsftpd Server?

Mar 8, 2011

Does someone know of a solid article on what files to back up to restore a vsftpd server onto another server?

Right now i'm backing up the ftp directory structure with all the files in it, but no configs, users, etc

View 2 Replies View Related

General :: Backing Up Two Partitions - Fedora 12

Aug 23, 2010

On fedora 12 - 1 drive - 2 partitions: a small partition to boot, a big one for all other things - sda1 and sda2.

I would like to use tar to copy them to a different drive. That way I not only back them up but also reorganize them.

(1) approach 1 - 2 drive approach

On second drive (sdb) created 2 partitions with fdisk, used mkfs to put file systems into them.

Easy to do sdb1. I created a directory /target and mounted sdb1 there. Then used tar pipe tar to copy /boot to /target. Appears to be ok.

Not so obvious how to do sdb2. I can mount it at target but

(1) if I copy / to /target there is recursion?? I tried --exclude=/boot --exclude=/target but it went ahead and copied /target.

Also there are a number of things mounted onto / - see output of mount below

Code:
/dev/mapper/vg_knox-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)

[Code]....

View 3 Replies View Related

Security :: Backing Up Dmcrypt Information?

Dec 6, 2010

As a matter of routine, I use dd to collect my hard drive master boot records, and I save the resulting file someplace where I can always get to it if I have to. It has occasionally saved me when some kind of disaster has struck and damaged a partition table or rendered a drive unbootable.Since I have switched to a fully encrypted system, I have been wondering exactly how to save the dmcrypt information. Dmcrypt works with a standard filesystem, and the filesystem itself isn't encrypted, only the contents.Thus dmcrypt must write a header someplace that includes all the information needed to decrypt the contents of the partition, including the key and the type of encryption employed.

Should something happen that causes that header to become corrupted, the entire partition is inaccessible and no recovery tool will work. So, it would seem like a really good idea to use dd to copy that header someplace safe.Now, I haven't taken the time to sit down, read the dmcrypt code, and try to figure out how to do it from that. The command cryptsetup luksDump doesn't do what I want because it dumps that information, but not in a format that would be immediately useful in copying the information back to a damaged partition. And every howto I've found tells me how to set up dmcrypt, and encrypt partitions and so forth. None tell me how to recover this information, other than mentioning that it is stored in the first few sectors of the partition.

Looking at some of this through a hex editor, I *think* that saving the first 512 bytes of the partition gives me what I want, but I'm not positive of that and I hesitate to depend on any putative backup scheme of this sort that I haven't vetted. I want to save no more than I need, and I certainly don't want to save any less than what I need.Edit: As I think about it, the first 512 bytes can't be enough because Luks/dmcrypt permits multiple keys. So how much information do I need to save?

View 5 Replies View Related

Ubuntu :: Backing Up The Entire Installation?

Sep 6, 2010

I have installed a number of softwares on my system,and well a recent power surge costed me my system with all those softwares,SO is there a way for me to sort of compress or make a live disk of my installation including all the softwares,so even in case of a hard disk replacement,i ay not lose my system.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved