General :: How To Make Scheduled Backup Of Repository And Recover It

Aug 6, 2011

I need to make a scheduled backup of repository of subversion in ubuntu. E.g., backup the repository at 13.00 pm every Monday. May I need to write some hook scripts to do that? And I also have to recover the backup of repository. If possible, I want to backup the trunk of repository
my repository is project1
/project1
/trunk
/tags
/branches

View 6 Replies


ADVERTISEMENT

Ubuntu :: Automated Scheduled Backup System Waking Up Computers

Mar 24, 2010

I am looking for an automated backup system and I like bacula. I have 3 Notebooks and a Desktop computer that need regular backup. Now I don't want to let them run all night just to do the backuping, so I was thinking I could use wake-on-lan to have bacula wake up the machines, then do the backups, and shut them down afterswards. While this may work with devices on the ethernet, it won't work with the Notebooks on the wifi. So is it possible to have the Notebooks schedules to automatically wake up from suspend or shutdown ? Or is it possible to interject a shutdown command if it is after a cerain hour and call the bacula director to start the backup now?

View 2 Replies View Related

General :: How To Recover / Root Filesystem From Backup?

May 4, 2010

Suppose I have a good backup of the / root filesystem. How do I recover the / root area? Suppose I have modified the root filesystem, perhaps I do an update some of the packages and regret it, and I want to get back to the system at the time of the backup. How do most linux people recover the root area of a system from a backup?

1) I wondered if I might put a System Rescue CD in and boot off it?
2) And then NFS mount the directory containing the backup? -In my case, I have made a good backup using rsync, to a directory elsewhere on the network.
3) And then, still booted off the System Rescue CD, mount the partition that contains the / root area in question?
4) Would I then clear or empty or delete the contents from the / root partition?
5) And then copy across all the files from the backup into the / root partition?

I ask these questions because of the (very nice) way linux OS is built entirely from packages... Am I being too complicated? (By comparison, I can see it is easy to recover user data.)If, instead, I simply recovered the backup straight onto the updated root filesystem, I wonder what it would look like if I then tried to verify it with "rpm -Va", for example? Surely, all the packages would fail the verification, because it would think it has a later version of each package from the update, but the actual files would have been overwritten by the earlier version from the backup?

View 14 Replies View Related

General :: Recover Backup Copy Of A Ubuntu Installation On A Usb Stick Using Dd

May 16, 2010

I installed Ubuntu 10.04 on a usb stick in persistent install mode. So I could boot the laptop or my desktop computer with the stick, at boot time. Once I needed the 8GB stick for another purposes so I thought about coyping it to my desktop doing from mac os x: dd if=/dev/disks3s of=/Users/jack/Desktop/usb_copy

Now I am trying to do the opposite, after having used the stick, which was formatted to NTFS, just doing

dd if=/Users/jack/Desktop/usb_copy of=/dev/disks3s

but although I can see that almost of the files are there, I can not boot again. IT is also strange the the file permissions are kind of strange, something like _user

View 1 Replies View Related

Ubuntu :: Using Repository As Backup To Personal Repository

Apr 7, 2010

I have a repository which i setup using reprepro. I have some packages on there but it seems that the Ubuntu repositories have a more recent version of those packages. What I want to do is when someone does an apt-get install package-name, it downloads the packages from my repository (in respect of any updated versions in other ubuntu repositories). I would like to achieve this with zero configuration on the client. Ideally what I would want is to be able to just point the sources.list to my repository for all packages, and if the package does not exist in my repository, it then goes to look in the ubuntu repos.

View 1 Replies View Related

General :: Make A Local Repository From Dvd?

Apr 12, 2010

how to make a local repository from dvd.?

View 6 Replies View Related

General :: Best To Make A Image Of Backup?

Mar 3, 2010

What is best to make a image or a backup.
Whit what for program.
By a image form what partion do i have to make a image.
By backup what directory to backup.

so that when by linux is corrupt i can do a reinstall.

View 7 Replies View Related

Ubuntu Servers :: Recover From Backup Causes Error

May 3, 2010

I am running 8.04 Ubuntu server. Unfortunately a couple of days ago I thought I should upgrade as desktop upgrades usually go without a hitch and are very easy. I forgot that my server is live with a few websites and a radius server set up just the way I need (took painfully long time to figure out). Needless to say the upgrade caused many config file changes and many things stopped working. I panicked since this is a live server so I went straight to the backups to recover my system. I booted from a live CD and copied the entire system overtop the new one.

Everything that needed to work works, however now I get this message in my mail about every 10-20mins:
Subject: Cron <root@IMwebserver> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
xargs: xargs.c:443: main: Assertion `bc_ctl.arg_max <= (131072-204' failed.
Aborted

Googling it, I found that its a problem with findutils. I tried to reinstall findutils with no luck.
My backup script looks like so:
@daily /usr/bin/rdiff-backup --exclude /dev --exclude /tmp --exclude /var/run/cups/cups.sock --exclude /var/log --exclude /mnt --exclude /media --exclude /proc --exclude /sys --exclude /var/cache/apt / /media/removable/BACKUP/rdiff/
How can I fix my system so the above e-mail no longer occurs?

View 1 Replies View Related

Server :: Recover A Compressed Mysql Backup?

Dec 6, 2009

I'm trying to recover a compressed mysql backup. As the backup is extremely large, I dont wanna decompress it before importing. How can I make a mysql variable take effect before I load this compressed file into the database.

View 7 Replies View Related

Ubuntu :: Recover From Backup - Can't Find HD (wrong UUID)

Aug 31, 2010

I rsync the filesystem where I have my server to another HD. Now, when I try to boot I'm dropped at initramfs with an error. It looks like it's still looking for the root in the previous HD even tough I already changed /etc/fstab. It says it can't find the device with a certain UUID, and that UUID is from the previous HD.

Here's the full details: I'm running Ubuntu server 10.04 It has 2 hard drives. Every night it backups one to another with the command

Code:
rsync --archive --one-file-system --hard-links --numeric-ids --delete

I moved the HD where I have the backup to another machine and rsynced them with the same command I then changed /etc/fstab in the new machine. I also installed Grub on it When I boot in the new machine I get a error about not finding root. It says that a device is not present. It says the UUID of the device is looking for, and it's the UUID of the first HD.

I thought I only had to change /et/fstab but seems I am wrong.

View 5 Replies View Related

General :: Easiest Way To Make A Backup Of An Entire Hard Disk?

Jan 10, 2011

I got myself a dell laptop from the local computer store. Its a used machine with Windows Vista Home Basic on it. I want to load Ubuntu Desktop 10.10 though so I can do perl development. BUT I want to keep a copy of the entire harddrive with the dell utility partition and Windows Vista in case I want to go back. I was thinking I could image the drive but I not sure what to use, I don't have Ghost or anything, Someone had told me about Clonezilla. Would that work for me? Is it hard to use? Also I want to burn the data to a DVD or something more storable than a harddisk.

View 8 Replies View Related

Ubuntu Servers :: Will Be Able To Recover Data 1TB Drives / Should Backup 80GB Drive As Well?

Feb 25, 2011

I am using software RAID in Ubuntu Server Edition 9.10 to mirror(RAID1) two 1TB harddrives. These are used for data storage and websites.I also have a 80GB harddrive for the operatigsystem. This drive has no backup or RAID at all. Should this drive crash and the system therefore to become no longer bootable, will I be able to recover the data the 1TB drives or should I backup the 80GB drive as well?

View 3 Replies View Related

Fedora X86/64bit :: Backup Updates Or Repository By Using APTONCD?

May 11, 2011

i am using ubuntu before, i dont have problem to backup my updates or my repository by using APTONCD, i switched now to fedora to give it a try. so far its good, my question now is how can i backup my repo, or any similar software like APTONCD.

View 3 Replies View Related

Server :: Backup Of Svn Repository Using Svnadmin Dump Dumpfile Location

Apr 14, 2011

One of my clients needs a backup of his svn repository. I see that this is possible using svadmin dump command. I see where the location of the source repository is, but I don't see anything in documentation as to where the actual dump file is located. I need to know where the dump file is so I can scp or rsync the file to another server for backup.

View 5 Replies View Related

General :: Scheduled Cron Job Stpped Working

Aug 22, 2011

I run a Fedora 9 server at home, to host an "old school" MOO.To back up the database, I scheduled a cron job - and got some help with the script.I don't fiddle with stuff on the server much, because I don't really have a clue - leave well enough alone.But now I'm without backups. (I'd prefer to get this working, as it seemed pretty simple, and worked well for so long).

View 14 Replies View Related

General :: Scheduled Tasks / Cron Not Working Right?

May 23, 2011

Got a small problem, I'm trying to schedule a script to run every Thursday at midday and the scheduled tasks application on Ubuntu doesn't seem to work. The script is fine when I run it from a terminal.I have zero experience using cron at the command line, can anyone tell me what I should do?

View 2 Replies View Related

Ubuntu :: Any Way To Make A Back Up / If Anything Happens Can Just Recover?

Jul 31, 2010

i have been using ubuntu since last 3 months. in the mean time i had to reinstall it 3 times. every time i have to install and setup lot of things. is there any way to make a back up and if anything happens i can just recover?

View 3 Replies View Related

General :: Page 2 - Scheduled Cron Job Stepped Working

Sep 8, 2011

The back.sh script is being run as user basil, whcih means that when it comes to copying the backup file to the target location you do not have the correct permissions to access the contents of the directory (it is rwx by root only).So, what do we do? Hoping it is ONLY the directory permissions which are fouling things up we have a range of options which, in not particular order of 'good', include:

a) change ownership/permission on target directory.
b) have the back.sh script run by the root user
c) set up sudo to permit the file copy to be done by root
d) use setuid on the back.sh to have it run, effectively, as root

A lot of the answer will depend upon what else the Dropbox directory is for. If it's JUST for your backups for this then I'd be inclined to:

Code:

chown basil /root/Dropbox
chmod g+rwx /root/Dropbox

which will permit the basil user full access and thus allow the file operations being done and give root access via the group permissions (not that the root user really needs this).Also, I'd be inclined to:

Code:

chown basil /home/xxxx/moo3/bin/back.sh
chmod u=rwx,g=rx,o= /home/xxxx/moo3/bin/back.sh

which will make things 'look' better, it just reinforces the point that the script is run (and owned) by the basil user.

View 3 Replies View Related

General :: Does Scheduled Reboot Of Server Improve Performance?

Nov 12, 2009

I just want to know if a linux server got rebooted after a scheduled time(2/3 month), whether the performance improves. If improves why.

View 1 Replies View Related

General :: Script(urls.sh) Scheduled To Run With Crontab At Every Hour?

Jan 26, 2011

I have a script(urls.sh) scheduled to run with Crontab at every hour. The script is all good and executes manually with [root@server cron.hourly]# ./urls.sh But the scrip is not executing according to schedule. This is what I see in /var/log/cron every hour:crond[4729]: (root) CMD (run-parts /etc/cron.hourly/urls.sh)My crontab look likes this:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root

[code]....

View 2 Replies View Related

General :: RepoError: Cannot Retrieve Repository Metadata (repomd.xml) For Repository

Sep 18, 2009

I've been trying to get my wireless working on the livecd to make sure its possible before I install it, but, I get a ton of errors when I install RPM's

Code:

Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1649, in install_files
txmbr = self.yumbase.installLocal(inst_file)

[code]....

RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. verify its path and try again I get that one trying to install a driver installer from [URL]

View 4 Replies View Related

General :: Error: Cannot Retrieve Repository Metadata (repomd.xml) For Repository:

May 18, 2010

when i was trying to install perl with fedora using yum: # yum install perl i got the following error: Loaded plugins: presto, refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

View 3 Replies View Related

General :: Error: Cannot Retrieve Repository Metadata (repomd.xml) For Repository

Jul 8, 2010

When I tell yum to update i get this error, Quote: $ yum update Loaded plugins: presto, refresh-packagekit Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again

View 4 Replies View Related

Server :: Recover MySQL Innodb From /var/lib/mysql/ Backup?

Jan 30, 2011

I installed mediawiki the other day and went with the default innodb option. However a week later something went wrong. And since I have scripts that nightly backup /var/ I just copied the backup of /var/lib/mysql/wikidb/ (as I've done with MyISAM). Then when I connect the wikidb database. I can see the tables (via "show tables"), but when I do any query with them (check table X, select * from X) I get:

Code:

Table 'wikidb.X' doesn't exist I've since read that can can't just copy the database directory like MyISAM, and there appears to be no way that I can find to restore or fix Innodb, without a dump of the data. And I never got a chance to do a mysqldump of the data. So has anybody got any idea how I can at least view the "page" table from the files I've backed up in /var/lib/mysql/wikidb/ ?

View 1 Replies View Related

Ubuntu :: How To Make APT Install Package From Specific Repository

Jul 19, 2010

If a software package I want to install is available in more than one repository, how can I choose which repository to install the package? And is there a way to do this with Synaptic?

View 2 Replies View Related

Ubuntu :: Failed To Download Repository Information / Make It Possible?

Dec 14, 2010

Since upgrading to 10.10 , there has been problems with the update manager.

Iv looked around but cannot find a good conclusion. code...

Ok for some reason my INTERNET is set to etho2 instead of etho, might this be the prob? , YES I do have INTERNET/connection.

if so how do i change it to default iv tryed etho but it just keeps going back.

View 2 Replies View Related

General :: Write A Simple Backup Script To Backup A Single Folder Nd?

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

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

Fedora :: How To Make Backup File In F12

May 10, 2010

I would like to make a backup file from my fedora 12, in case if I have any problem with it, I could restore all my programs and settings from OS, I used do this with northon ghost in windows, but now in linux I don't know for sure. Yesterday I made a backup, in the end it was 34gb of his size, I wanna backup only what is used, how I do this?

View 7 Replies View Related

Ubuntu :: How To Make An Emergency Backup

May 30, 2010

So I was doing the update to 10.04 when a freak thunderstorm knocked out the power. I can no longer load onto ubuntu from the HDD. I have been told to either do an emergency back up using the 10.04 live disk. I am not sure what to do when it comes to that. I have also heard I can just repair the boot file on the HDD. I don't know how to do that either. I wouldn't mind I fresh install but I do not want to lose any of my data.

View 9 Replies View Related







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