General :: Create Backup/archive Ubuntu 10.04 System Files?

Jul 22, 2010

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]...

View 5 Replies


ADVERTISEMENT

General :: Create A Backup Directory And 3 Directories Within That And Some Files Within The 3 Directories And Then Back Them Up Ot Restore Them?

Dec 19, 2009

i am in need of linux help. iam at college and i need this back/restore script to pass this final part of an assessment. i require a backup script that will not only backup but also restore files to the relevent directories. e.g. users are instructed to store all wordprocessor files in a directory named wp. so i am needing to create a backup directory and 3 directories within that and some files within the 3 directories and then back them up ot restore them. l know i should/have to do this myself by been trying to get/understand info for the last few days and came up with zero.

View 14 Replies View Related

Ubuntu :: Create A Full System Image Backup?

Jul 31, 2011

Well 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 Related

General :: Forcing Tar To Create An Empty Archive?

Apr 21, 2010

I'm trying to use tar to tar files before transfer, so I can keep the entire file path rather than losing it along the way. However, when I try to tar an empty folder, it tells me that it is cowardly refusing to create an empty archive. I want to keep the empty folder on the other end, but don't want to put anything else into the archive to make it non-empty. Is there any way to do this?

View 1 Replies View Related

Ubuntu :: Backup And Create Restore Images For Operating System.

Aug 17, 2010

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 Related

Debian :: Create Full System Backup To ISO / IMG-file

Jan 28, 2014

I 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 Replies View Related

Security :: Create A Backup Script For Files / Folders?

Jan 18, 2010

I m going to create a backup script for my files/folders...

This script creates tar.gz of the folders/files you want.

This i want is to encrypt these .tar.gz files and when i need them to decrypt them. Does anyone have an idea on how to encrypt these files ?

my script looks like this :

Code:
BACKUPDATE=$(date +%d%m%Y)
cd /home/n3t
echo "taking Backup of your home/n3t/Downloads dir"
tar -czvf /media/disk/BACKUP/home/Downloads/$BACKUPDATE.tar.gz ./Downloads

View 2 Replies View Related

General :: Bootable USB Flash - How To Create A Files System

Oct 20, 2010

I need to make a bootable USB stick.

1) How to format it with ext3

2) How to make a master boot record

3) How to create a files system

4) How to put syslinux, syslinux.cfg and a real kernel on the stick

View 2 Replies View Related

Fedora Servers :: Create A Backup To A Remote File System?

Jun 26, 2010

Attempting 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...

View 3 Replies View Related

Programming :: Create/delete Temp/backup Files Through A Shell Script?

Dec 31, 2008

I have a shell script that need to create some files:

1) backup files of user passed in file ( that will be written by this shell ).

2) temp files that the shell will create and later delete/remove.

This shell script will be used from my local dir ( I am not a super or a sysadmin ). Users of this shell will call this script to run on their local files in their respective directories. When my script runs, it errors with the following:

cp: cannot create regular file `./listfile.txt.backup': Permission denied
/home/myUser/tools/myShellScript: line 12: listfile.txt: Permission denied

for the temp I was able to avoid this error by creating the temp file in the /tmp directory. All I want is for this shell script to run, create/modify/backup files in user's local dirs.

The user dir has the following permission:

drwxr-xr-x testDir

the file that needs to be backed-up has:

-rw-r--r-- listfile.txt.

View 7 Replies View Related

General :: Mount Point For Backup Drive - Partition To Backup The Important Files On My Main HDD

May 21, 2011

I'm just setting up a partition on a seperate HDD in my system. I plan to use the partition to backup the important files on my main HDD (to guard against HD crash).

The question I have is about where would be the typical location to auto mount this partition? Which would it be normal to go for:

1. /backup/
2. /media/backup/
3. /mnt/backup/
4. /home/chris/backup/

View 7 Replies View Related

Ubuntu Servers :: RSYNC With Archive Backup

Sep 15, 2010

I have a Linux host acting as an ISCSI server for a Windows box. I want to keep an off site backup, so I figure rsync will keep the ISCSI server synced with an offsite Linux host. I understand that Rsync does block level incremental transfer to conserve bandwidth ok, awesome.The trick is, that I also want an archival copy kept. Say I want to go back to a revision of a file from 10 days ago, I need to be able to do that.

I was planning on using Backup Exec, since we currently have a licensed copy. Throw the archives from Backup Exec onto the ISCSI server as well, and have it keep a rotating 30 day backup, or something like that. The issue I see here is that this will be creating a deleting files as it does its daily backup rotation. I'm guessing RSYNC will see these as new files, and likely retransmit everything on a daily basis. The question then becomes, is this assumption correct, or will it still know to do a block level incremental transfer even when file names and such are changing?

View 5 Replies View Related

Programming :: Create A Bash Menu Script For Home Server - Restore Files From A Backup?

Jan 19, 2011

I would like to create a bash menu script for my home server For instance if i were to type ./script It would then bring up 3 options

a. Create a backup
b. Restore files from a backup
c. Quit

If you were to select a or b it should then ask you were you want to backup or restore from. And if i were to type in an incorrect letter i should get an error and take me back to menu. I have attepmted this a view time now and have magaged to get the menu up using parameters

View 9 Replies View Related

Ubuntu :: Automated Backup - Crontab And Tar - Creates Archive-.tar Instead Of .tar

May 26, 2011

I have created an automated backup using the following:

[Code]...

When cron runs it creates a .tar like it is suppose to, but it creates archive-.tar. However, when I manually type in that command, I get archive-"whateverthedateis". Is there a step that I missed since the date keeps being omitted by this cronjob. I tried a another method

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Backup Apt Archive For Reuse After Clean Install?

Apr 13, 2010

I do several things, involving a lot of different software (coding, image manipulation, drawing, video editing, etc).And where I live, internet is utterly slow, so instead of actually benefiting of the quick Ubuntu install, I am doomed to spend countless days re-downloading my packages each time.Before my last format, having gained a slightly greater understanding of how Linux works, I saved all the content of apt archives, so synaptic would pick the packages already downloaded from there.But it does not! It re-downloads every package.What should I do to have synaptic recognize packages that are already there?

Note: I am NOT looking to create a mirror repository, aptOnCd and whatnot. I also DO NOT want to install packages by hand, one by one or all together.All these solutions are certainly valuable (and I've tried a good bunch of them), but then I have to update manually my mirrored repository and/or install updates manually. Furthermore, it leaves me with two directories with packages, apt archive and ~/my-repository, which is just messy (in my view at least).

View 2 Replies View Related

General :: Archive All Files To One Single File In Every 30 Days?

Apr 12, 2010

I have a directory there are many files are writing to it , I would like to write a script to do that , can please provide the advise .

archive all files to one single file in every 30 days , and then remove these old files .

View 9 Replies View Related

Fedora X86/64bit :: Backup And Restore System Files?

May 18, 2009

Is it possible to backup and restore the system files of fedora 10_x86_64 so that if there will be any problem at OS , I can easily recover it from the previous backup files?

View 1 Replies View Related

Ubuntu Servers :: Backup Including System Files - Boot From Live Cd?

Apr 22, 2010

I am researching how to make an effective backup on Ubuntu Server. This server will have Vsftp, VPN, Samba stuff , many other added packages +many printers, many users + data. I know I can use tar for the data /u no problem. 1. I was testing tar on the /home directory on a few user directories. I then created a new directory and did a restore of the users directories on it. I noticed the /home/user owner and group were root. The files in each directory remained the same. This gave me concern. If I had a crash and had to restore these to a new HD. I would have to change these, what else would I need to change? 2. Since I have many config files, how do I back up them? I know I can do a dump, but then users shouldn't be on the system. The system files will change as they add users, printers, etc, and asking users to not work, is not really an option while dump is running. I thought I could do a tar on whole system. (cron late at night .. not as many users) Then in event of crash of HD.

1. Boot from live cd
2. format the new drive
3. tar back in the whole system

Will this work right? Is there something I am missing?

View 3 Replies View Related

OpenSUSE :: Backup All System & Files To External Hard Drive?

Sep 30, 2010

How I can backup all my system & files to external hard drive?

I am using OpenSuse 11.3 32bit - Gnome

View 8 Replies View Related

Ubuntu :: File Roller - Could Not Create Archive

Mar 9, 2011

I am using Ubuntu 10.10 and I started to have a kind of annoying problem with file-roller. I do not know what I attempted to unpack or pack form my USB HDD a couple of days ago, but when I did I got a message from the archive manager, the message was: "Could not create the archive, Archive type not supported." Well, I just shrugged, and continued doing whatever I was doing, but later I noticed that whenever I tried to open the HDD for whatever reason from "PLACES" in the main panel, I was getting the same error message over and over again.

It is not produced when I open the HDD from the Desktop link in my Desktop, that link will open the HDD with no problems. But if I try to access the HDD from "PLACES" in the main panel I will always get the same error message. Ok, what have I tried: since the archive manager window shows the "file-roller" logo in the menu button, I assumed that file roller is stuck with the previous process for which it produced an error, therefore I tried to "kill" any pending processes by several ways: Login-off, re-starting and turning the computer off.

That did not worked. Whenever I attempted to open the HDD from "PLACES" the same error "Could not create the archive, Archive type not supported." will return. Assuming that nautilus was stuck with the process I tried to kill any pending processes by using Alt+F2 and trying to kill the pending nautilus process using:
ps -e | grep nautilus
and then the command
kill {####}

That did not worked either. I was tired and uninstalled "file-roller" using the software manager, this solved the problem. But I actually use "file-roller" so I re-install the program and the problem returned. I tried to uninstall the program using synaptic manager using the "Mark for complete removal" option, uninstall, re-install and the problem was there. I uninstalled all the other recommended packages that were installed along with "file-roller" using synaptics and then just tried to install "file-roller" alone, the problem is still here.

Then I thought it was a problem related to the HDD. So I went ahead and re-formatted it using the EXT4 file system with no partitions. Re-booted and the problem is still here. Whatever process I started with "file-roller" or one of its companion pkgs is still active somewhere, I believe is "alive" in the system's HDD, because it returns after a complete uninstall/reboot/install process. I do not want to mess with "nautilus" itself, Do I need to uninstall/reinstall "nautilus-data" pkg?

System: Ubuntu 10.10, running solo in an EXT4 single partition.
Desktop: Gnome v2.32.0
Programs: file-roller v.2.32.0-0ununtu1; unzip v6.0-4; zip v3.0-3; xz-utils 4.999.9beta+20100527-1
USB HDD: 500GB, single partition, EXT4 file system.

View 3 Replies View Related

General :: Cron Job To Create And Move Backup From Ubuntu To Windows?

Jun 15, 2010

This is Kishore and i am new to Ubuntu and SVN and please some one help me in creating a cron job for my svn backup every day at 10:30 pm I already created a cron job which looks like 30 10 * * * svnadmin dump /home/administrator/svnrepository >svn1 when i run command directly i am getting whole backup and it's size is 3.6 gb but when i run through cron job the backup size is only 9 mb. So finally my requests are 1. cron job for taking complete svn backup at 10:30 pm daily and 2. cron job to copy the SVN backup in to my windows system in d drive and this must be run every day at 11:30 pm.

View 1 Replies View Related

Ubuntu :: Create Self-extracting Win32 7zip Archive

Jul 20, 2010

I can't do this with File Roller or 7zip, as they aren't executable in Windows. I'd like to model the archive after the link.URL...

View 3 Replies View Related

General :: Kernel-kits That Allow To Create A Livecd Backup

Jul 5, 2010

In doing my kernel-kits that allow you to create a livecd backup of your installed slackware or arch install, I came across stuff about how many x86 or x86_64 systems use a PAE kernel?

if thats so; should I release a PAE kernel kit also besides the x86 and x86_64 kernel kits for slackware/arch??

or is it not a big thing?

Can anyone run a PAE kernel or it should be a seperate build? the x86/x86_64 kits are not PAE...let me check...

View 4 Replies View Related

General :: Create An Image Of Hdd And Store On Another Computer As A Backup?

Dec 7, 2010

I Acer aspire 3620 and would like to backup whole system. My laptop has a 40Gig hdd. Is there a way I can either create an image or copy(clone) to another computer just in case I need it. If it matters I have a spare 40 gig drive on the other computer. The reason for doing this is so that I can try a system restore and if anything goes wrong I want to be able to transfer back. Also if it is posible how could I put it back and be bootable.

View 14 Replies View Related

Ubuntu :: Can't Create New Folder In System Files (not Even In Terminal)?

Mar 17, 2011

I don't seem to be able to create a new folder in my system files. I know I have to do this in the terminal as root, but I always get the answer that it cannot create the directory because there is no such file or directory. Yet the directory where I want to make the new folder definitely exists (I even just go there and try to create the folder)Here is the exact code:Code:lukas@lukas-VGN-FZ21E:/proc/asound/card0/pcm0p$ sudo mkdir ossmkdir: cannot create directory `oss': No such file or directory

View 4 Replies View Related

Ubuntu :: Archive Manager Create The Specified Directory If It Doesn't Exist?

Feb 16, 2010

Is it possible to have Archive Manager create the specified folder when I enter it into the path field? Like if I want to put something in "/Main/Sub1/Sub2" But "sub2" doesn't exist, can I just have Archive Manager create it and put the files there?

View 1 Replies View Related

Fedora Installation :: Unable To Extact .rar Files - Error - There Is No Command Installed For RAR Archive Files

Jul 20, 2010

i am downloaded some e-books in the format .rar. when i am extracting them i am getting error as There is no command installed for RAR archive files. Do you want to search for a command to open this file?

View 3 Replies View Related

General :: Create A Backup Schedule For Client Computers And Servers?

Sep 20, 2010

I did a search and came up with many different opinions and suggestions, and I could not find any similar threads for this (if there is I must apoligize in advance and did not look hard enough). I am trying to create a backup schedule for client computers and servers; and I would like your opinion on what I came up with. Here is network infrastrusture setup:

16 client computers
6 serevrs
- Primary and Secondary Web Server (RAID 1)
- Primary and Secondary Domain Controller (RAID 1)
- File/Print Server (RAID 5)
- Backup Server (RAID 1) with USB 2.0 1TB External Drive

Of course I will evetually upgrade to Tape Drives, but I am saving up for that. Anyways I want to backup ALL client computers, Primary Web and DC server, and File/Print Server. This will be done (of course) on the Backup Server) Here is the schedule:

[Code]..

View 2 Replies View Related

Ubuntu :: Restore Backup Server - Where Is The Location Backup Snapshots Or Files Are Saving

May 10, 2011

I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.

[URL]

The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?

View 1 Replies View Related

General :: Create A Cron File That Will Regularly Perform A Level 0 Backup Once Per Month?

Mar 3, 2011

How do you create a cron file that will regularly perform a level 0 backup once per month?

View 2 Replies View Related







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