Ubuntu :: Backup Script Using Tar?
Jan 24, 2010
I'd like to make a script that backs up each folder (named specifically in the script) into a single (uncompressed) tar file.something along the lines of
# Backup Script
tar -??? /media/disk-1/folder1/ /media/disk-2/folder-1.tar
tar -?? /media/disk-2/folder2/ /media/disk-2/folder-2.tar
[code]...
View 2 Replies
ADVERTISEMENT
May 18, 2010
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner
View 2 Replies
View Related
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
Jan 19, 2010
I have a scheduled backup to run on our server at work and since the 7/12/09 it has be making 592k files instead of 10Mb files, In mysql-admin (the GUI tool) I have a stored connection for the user 'backup', the user has select and lock rights on the databases being backed up. I have a backup profile called 'backup_regular' and in the third tab along its scheduled to backup at 2 in the morning every week day. If I look at one of the small backup files generated I see the following:
Code:
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version`
[code]....
It seems that MySQL can open and write to the file fine, it just can't dump
View 3 Replies
View Related
Feb 2, 2011
I've tried to google but not much luck. What I would like to do is have anumber of folders on my desktop and their contents, replicated/duplicated into another folder on the same PC in real time. So for example, if I were to change an OpenOffice document in a specific folder on my Desktop it would be replicated/duplicated in real time. If I had three folders on my Desktop A, B and C they would also appear/be backed up (in real time) in a folder called /home/backup. Can this be done?
View 3 Replies
View Related
Jun 30, 2010
does anyone know of a good backup software for Ubuntu 10.4 that will let me select which folders to backup, rather than a complete backup? My install and settings etc can be replaced, but my photos and memories cannot!
View 6 Replies
View Related
Sep 1, 2011
I have installed Ubuntu 11.04 onto HP EliteBook 8540w notebook and would like to backup the entire disk using some popular backup tool.
I have searched in the internet and found the closest tool is PartImage. But the bad news is that it does not support ext4 fs!
View 5 Replies
View Related
Jun 12, 2010
I have been looking for a complete backup solution like "Acronis True Image Backup and Recovery" on Windows for Slackware a while.
View 12 Replies
View Related
Jan 15, 2010
After I spent some time discovering The BIG BANG of Universe and The Meaning of Life :
I managed somehow to create a script to make some backup of files on server and TAR it and then FTP the archive to another location FTP server and then emails result.
It also measures time needed to complete it and deletes archive older than XX days (set in find -mtime +20) and makes incremental backup every weekday and FULL on Sundays (which suits me bcoz no heavy load).
Files for TAR to include and exclude are in txt files listed each line separate name:
file: including.txt:
View 7 Replies
View Related
Nov 10, 2010
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
View 2 Replies
View Related
Sep 15, 2009
I am trying to create a backup script that will back up a single folder for a class i am in. I was wandering if I could get some help. If possible I would also like to know how to write a script that can encrypt that same file . I will be putting the back up in my /home/usr/Backup directory. I am not trying to back up my whole system just a single folder. I am using Fedora 11
View 2 Replies
View Related
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
Aug 10, 2011
I want to make a backup from my Email and my Favorites from Mozilla.
But which folders I have to make a backup from.
View 3 Replies
View Related
May 10, 2010
Does anyone know of any decent enterprise level backup solutions for Linux? I need to backup a few servers and a bunch of desktops onto one backup server. Using rsync/tar.gz won't cut it. I need like bi-monthly full HDD backups, and things such as that, with a nice GUI interface to add/remove systems from the backup list. I need basically something similar to CommVault or Veritas. Veritas I've used before but it has its issues, such as leaving 30GB cache files. CommVault, I have no idea how much it is, and if it supports backing up to a hard drive rather than tape.
View 7 Replies
View Related
Jun 13, 2011
When I backup with Dejadup, does it backup only the folders or the OS as well?
In case of a real crash, can I bring back the system to its pre crash state including the OS, using Dejadup backed up files?
View 3 Replies
View Related
Feb 4, 2011
I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?
View 4 Replies
View Related
Sep 13, 2010
Can some one give me a sample of a crontab for backing a directory please, System is Ubuntu 9.04Quote:
#!/bin/bash
# this file is an automated backup script, backup.sh.
# this backs up my domain site.
[code]....
View 7 Replies
View Related
Jul 19, 2010
I have use backup-manager tool very often but now found some problems and goes to it official site backup-manager.org for search answers.But this site didn't open already more than week!
url
url
url
At now DNS records don't have A record:
Code:
$host backup-manager.org
backup-manager.org mail is handled by 10 private.sukria.net.
backup-manager.org mail is handled by 15 private.nxr.fr.
backup-manager.org mail is handled by 5 mx.sukria.net.
backup-manager.org mail is handled by 10 jupiter.unix-scripts.info.
Does this project moved, renamed or died?
Maybe it change the domain address?
Or this is only temporary problems with hosting or domain?
View 3 Replies
View Related
Apr 9, 2011
I have installed an application manager(monitoring application) on my linux server. Now, i need to have backup schedule for my application. The application itself has executive file to backup database.But when i put this file in my crontab to schedule the backup program it wont run!50 09 * * * root /opt/ME/AppManager9/bin/BackupMysqlDB.sh
View 1 Replies
View Related
Oct 24, 2010
I create Backup partition with dd and save my backup on NTFS partition. i want recover this backup,what should i do? can i use boot cd and use dd command for recover it?
View 2 Replies
View Related
Jan 15, 2010
I have a debian machine, running an apache server, and I want to backup the files to my Windows machine. I used to use a windows backup (SyncBack), having my http folder accesable through a samba server. But since I started using symbolic links to directories, it went in an infinite loop...
View 2 Replies
View Related
Aug 3, 2010
I'm trying to backup a NAS from remote. The only options it has are FTP, NFS and CIFS. The only encryption method it has is explicit ftp encryption (old school). I know lot's of ways to backup if I open the firewall to allow SMB access, but I know that you can't encrypt in transit with it. I don't know much about NFS and the NAS has virtually no options for it, so I'm guessing encryption isn't supported on it. This leads me to FTP with explicit encryption. I've done a bit of research on software that can backup over ftp and have not found many. Furthermore, I haven't found any that will work with explicit encryption. I had a bit of success using lftp but then realized it's an all or nothing sort of thing (I don't want to backup 1tb+ of movies that I can just rip again if I lose them due to space constraints).
View 1 Replies
View Related
Nov 30, 2010
I am about to back up my data before migrating to 10.10
Need some ideas on what is the best way?
I was thinking copying my whole filesystem to an external drive but the filesystem is rather big.
Is there a way i can create a DVD from my current setup of everything and i can just use that to recover in the event something goes wrong?
View 2 Replies
View Related
Feb 25, 2010
I used the following command to put my backup hdd into standby:
Code:
# hdparm -y /dev/sdb1
/dev/sdb1:
issuing standby command
check the status:
[Code]....
It does this every time. What would cause the disk to spin up when it's not even in use?
View 3 Replies
View Related
Mar 2, 2010
I saw in a magazine reference to using rsync to have identical copies of folders. This looks like something I could find useful as I have a large number of items in need of safe backup.
I have the folders on an old system on a home network and would like to copy these over to a USB Hard Drive.
Currently the folders reside on SFTP xxx.xxx.xxx.xxx and I wish to sync them to a USB port on my laptop.
View 9 Replies
View Related
Mar 15, 2010
I have some backups from Ubuntu 6.06 that I want to put it back in Ubuntu 9.10. How do I do that? When I connect the flash drive, it lights up, but doesn't show up.
View 1 Replies
View Related
May 24, 2010
Several months back I backed up a windows hard drive using an ubuntu live cd and this commanddd if=/dev/hdx | gzip > /path/to/image.gzI now want to restore that image but so far have not been successfulI have tried to restore using this commandsudo dd if=/path/to/file.gz of=/dev/sdb1After some time has passed, the terminal reads23568129+1 records in23568129+1 records out12066882348 bytes (12 GB) copied, 1327.65 s, 9.1 MB/sIf I reboot to windows with the 2nd hard drive connected as a slave. I go to my computer to try and browse the files of the restored HD but when I double click the drive, windows saysthe disk is not formatted.I have also tried sudo dd if=/path/to/file.gz of=/dev/sdbAnd when I do this, the disk does not show up in places/my computer but it will show up in gparted and Disk Management
View 4 Replies
View Related
Oct 1, 2010
Using Ubuntu 10.04 on an old HP DV4000 laptop. Trying to do a backup from my laptop's disk to an external USB drive using DD while booted from an Ubuntu boot disk. The laptop's hard drive is not mounted. I was also using a checksum to verify the backup against the hard drive like so:
Code:
$ dd if=/dev/sda of=/media/usbdrive/whatever.img
$ md5sum /dev/sda > laptop.md5
$ md5sum /media/usbdrive/whatever.img > img.md5
Unfortunately over two separate attempts I have not got the checksums to match. However, I have mounted the dd image and retrieved part of the backup from the image, with no apparent corruption. Are there any reasons other than data corruption that could be causing this? I have not tried to restore from said image to see if it "works" (for obvious reasons).
View 2 Replies
View Related
Nov 18, 2010
I want to make a program (or script for now that I can use in one) that will backup the sources, but not the ubuntu ones. What I mean say I have ubuntu 9.04 and I want to update to 10.10, I can copy all the extra sources and add them to the sources list, but not the ones for ubuntu 9.04 (since I will have the 10.10 ones). I want to do this with a script, so it can be for backing up and automated.
I would also like it to work in debian (or any spin off of including ubuntu spin offs), that way if someone is switching from one debian based distro to another it can be made easier. The only problem I am having is in knowing if the source is part of the core of the distro or not. I would combine this with one that will backup installed programs, so you could easily move them with you for an upgrade or to try a new distro .I could sware I created this thread already (today actually) but I guess my browser did not submit it before I closed it .
View 5 Replies
View Related
Dec 7, 2010
My computer has several partitions and OS:s on it, including beloved Ubuntu. If I want a total and identic clone of my HD, would dd be the way to go?Would it also preserve GRUB, bootrecords, etc? I'm after something that is at least as workable as Norton Ghost and from what I've read dd would to the trick.
View 2 Replies
View Related