General :: Restoring RH4 Using AMANDA - Will It Restore OS
Jun 4, 2010If I want to restore an full backup of AMANDA, will it restore the OS along with the files or does it just restore all the files in /
View 2 RepliesIf I want to restore an full backup of AMANDA, will it restore the OS along with the files or does it just restore all the files in /
View 2 RepliesI've run into a problem when trying to restore a file using AMANDA. My setup is as follows: I have a server that runs on Red Hat Enterprise Linux Server release 5.4 and I have a client that runs on Red Hat Enterprise Linux AS release 4. I successfully backed up files on the client using AMANDA.
Now I am trying to restore a file from the backup and restore it to the client running Red Hat Enterprise Linux AS release 4. In order to do this, I have to go through the server which runs Red Hat Enterprise Linux Server release 5.4.
Here is the problem I encounter. When I try the restore, it freezes at the extraction process. I've left it running for the night and still it is stuck at the same place. The restore never completes.
So I'm wondering if anyone knows what seems to be the issue? Could it be that the AMANDA driver I installed does not allow restore with different versions of Red Hat? Or is there an update in Red Hat 4 that would fix this issue?
when i typed command /usr/sbin/amcheck intra on client side i got following error.(expecting a new tape)
NOTE: info dir /var/log/amanda/intra/curinfo: does not exist
NOTE: it will be created on the next run.
NOTE: index dir /var/log/amanda/intra/index: does not exist
NOTE: it will be created on the next run.
I've run into a problem when trying to restore a file using AMANDA.My setup is as follows:
I have a server that runs on Red Hat Enterprise Linux Server release 5.4 and I have a client that runs on Red Hat Enterprise Linux AS release 4. I successfully backed up files on the client using AMANDA.Now I am trying to restore a file from the backup and restore it to the client running Red Hat Enterprise Linux AS release 4. In order to do this, I have to go through the server which runs Red Hat Enterprise Linux Server release 5.4.
Here is the problem I encounter. When I try the restore, it freezes at the extraction process. I've left it running for the night and still it is stuck at the same place. The restore never completes.So I'm wondering if anyone knows what seems to be the issue? Could it be that the AMANDA driver I installed does not allow restore with different versions of Red Hat? Or is there an update in Red Hat 4 that would fix this issue?
The HD containing my main F14 install is suddenly failing with many unreadable blocks. So I booted a different F14 installation I have on another disk.
Then I run dump, for example, as following:
Code:
dump -0 -a -q -v -A sdb1_home.arc -f sdb1_home.dmp -L F14_sdb1_home /dev/sdb1
as, for what I can recall, I've often done to create full backups.
The problem is that running restore with this command:
Code:
restore -i -A sdb1_home.arc -f sdb1_home.dmp
(as, for whatI can...) and using the add and extract commands, only the directory are created. But files are listed using ls. If I add just a file, only dirname is extracted.
I read that AMANDA is only for Intel processors, but I have a PowerPC processor and I want to install AMANDA.Someone said that I have to find the distro of my RH and there should be AMANDA packages available.
My distro is: Red Hat Enterprise Linux AS release 4 (Nahant Update 7)Where can i find AMANDA for my distro??
I am trying to install AMANDA onto a RH Linux4 client, but when I type in: rpm -i amanda-backup_client-2.6.1p2-1.rhel4.i386.rpm
I get the error:
libcurl.so.3 is needed by amanda-backup_client-2.6.1p2-1.rhel4.i386
Suggested resolutions:
/var/spool/up2datecurl-7.12.1-11.el4.ppc.rpm
I installed amanda on a client that uses Red Hat Enterprise Linux 4. When I do an amcheck from the server, I get this:
Amanda Backup Client Hosts Check
--------------------------------
WARNING: 192.168.3.23: selfcheck request failed: recv error: Connection reset by peer
Client check: 1 host checked in 0.022 seconds. 1 problem found.
I am using bsdtcp. I get an ACK error if I switch the client to bsd authentication. I read that I should enter servers adress to hosts file in /etc/ directory?
When I do an amcheck, I get this Amanda Backup Client Hosts Check WARNING: noname.com: selfcheck request failed: recv error: Connection reset by peer Client check: 1 host checked in 0.022 seconds. 1 problem found.
I am using bsdtcp. I get an ack error if I switch the client to bsd authentication. What should I do, how do I fix it? I read that I should enter servers address to hosts file in /etc/ directory? Here is the log in /var/log/messages:
[Code]....
I am trying to backup a client called greetings.com, but when I do an amcheck on the server, I get:
WARNING: greetings.com: selfcheck request failed: Connection refused
I have performed the tar backup in my linuxbox by using the commandtar -cvpzf ring.tar.gz /m01/fordb/sqlThe ring.tar.gz is stored in /m01Now i need to restore the particular directory sql into the /m01/fordb/where i have deleted the sql directory
View 3 Replies View RelatedI've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content
View 14 Replies View Relatederror at restoring dumped sql
I have backuped sql by mysqldump on mysql version 5.1.41. But when I restore this sql by command "mysql -uroot --default-character-set=utf8" my-db < my-sql.sql" I've got this error message.
Quote:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'barunarum',1,1,1,1,1,1,1,1,1,1,3,3,-1,5,1,-20,0,'','script|iframe',0,0,0,0,0,0,0' at line 1
im trying to clone my ubuntu system installed in a laptop in case the laptop crashes.
But, first of all: when i try to restore the system in a new PC, could be incompatibilities because the hardware of the broken laptop and the new laptop is different?
I dont mind if i have to buy another laptop with the same processor type (i386, etc), but, for example, the type of the RAM could be cause of problems?
can i do a complete system restore on a toshiba netbook with linux op system, as ive bought one with admin name and password still on it, and i dont know the password to use the admin side of the netbook?
View 10 Replies View Relatedon a Linux pc I want to restore the contents of the DLT tape to /mnt directory,how to do itIf I just want to see the contents of the files, is it possible to read the contents irectly from tape without restoring to hard disk?
View 4 Replies View RelatedI mistakenly deleted the repo directory in the yum folder. Now my yum command does not work.i tried to rpmfusion but i couldnt find the rpm for fedora 7. How can i restore my repos. I didnt do any modifications. Only rpmfusion repo would do.
View 5 Replies View Relatedat work place I have an HP ProLiant DL580 with RedHat Enterprise Server 5.4 x64. Today I cloned this machine using clonezilla. What I would like to do is restore the image to VMWare machine for personal purpose (I cannot perform tests on production machine). But after restoring on VMWare I got "Kernel Panic". That's normal due to different hardware.
Now, is there a way to remove the Kernel Panic and correctly boot the machine? I ask our tech department for the RedHat CD1 to enter the "linux rescue" enviromnent, then try to re-read the hardware list with
# chroot /mnt/sysimage
# kudzu
in my fedora machine i gave
mysqldump <database-name> > bakup.sql
in my solaris machine i gave
mysql <newly created dbname> < bakup.sql
it shows the below error
ERROR 1064 at line 25: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=latin1' at line 7
mysql version in my fedora machine is
mysql Ver 14.14 Distrib 5.1.47
mysql version in my solaris machine is
mysql Ver 12.22 Distrib 4.0.24
I want to restore a HDD image I have to my laptop's HDD while booted off the Ubuntu Live CD.The laptop's HDD is unformatted and has no partitions.I expected this to work:$ sudo dd if=/path/to/backup.img of=/dev/sdaBut I'm tolddd: opening `/dev/sda': Permission denied.
View 1 Replies View RelatedDue to my inattention, tiredness (and probably stupidity) i've run "chown -R someuser:someuser /" and now all your base are belongs to us the files on the server belong to one user (lol).After system restart, apache, bind9, mysql, and adozen other applications don't start and fill their log files with permission errors.I haven't done any backups on system files, only on the db and website files.Please suggest some ways to revive my web server. I have only 2 month experience with linux,
View 1 Replies View RelatedI backed up my laptop months ago. Today i repartition the drive and used sysresccd with partimage to restore the HDD. I got a success msg after restoring however when booting i get a bootmgr missing error. How do i fix this?
View 2 Replies View RelatedI was having trouble creating a USB Startup Disk in Ubuntu and used the command:
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1
This was a mistake as my USB flash drive was on /dev/sdc. If I am understanding this correctly, the command above deleted the MBR and the partition table. This disk had a single "/storage" partition on it. I googled a solution and found that the "testdisk" program seems to be the most popular solution for things like this. I ran it, selected an "Intel/PC partition" type, set the partition to a non-bootable primary Linux partition, wrote it, and rebooted.
Whenever I run:
sudo mount -t ext3 /dev/sdb1 /storage
I get:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Dmesg shows the following:
[20246.273941] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[20246.279376] EXT3-fs: group descriptors corrupted!
When I run:
sudo fdisk -l /dev/sdb
I get:
Disk /dev/sdb: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
I've decided to give openbox a try with Debian testing. I set up my right-click menu exactly how I want it, and everything else is set up perfectly. I installed trayer and tint2, along with nitrogen. I added the following lines to my ~/.config/openbox/autostart.sh file, but things aren't loading/restoring as they should. Tint2 and trayer don't load at all, and nitrogen isn't restoring my wallpaper. All I get is a black screen with my cursor, but the ability to right-click and open the menu, so it's not like X is dead. I did set the default wallpaper by issuing the command nitrogen /home/john/Pictures/Wallpapers, where "Wallpapers" contains all of my background images.
Here is my autostart.sh file: Code: # Autostart file for openbox nitrogen --restore & sleep 2s && tint -c /home/john/.config/tint/.tintrc) & (sleep 2s && trayer --expand true --transparent true --alpha 255 --edge bottom --align right --expand true --SetDockType true --widthtype request --margin 130) & I do have proper content in the .tintrc file located in /home/john/.config/tint/tintrc. Am I doing something wrong here?
I'm trying to restore an image from a 40gb partition(6gb used) to a 100gb partition. I set everything up in gparted and and restored the partition image with clonezilla. In gparted, the partition shows the full 100gb partition with 6gb used, however when I boot windows and open the properties on the C: partition, it shows that it's only 40gb. Is there some setting to restore the partition image and use the full 100gb?
View 7 Replies View RelatedI'm trying to install the client but getting failed dependencies:
libcrypto.so.0.9.7 is needed by amanda-backup_client-3.2.0-1.suse10.0.i586
libcurl.so.3 is needed by amanda-backup_client-3.2.0-1.suse10.0.i586
libssl.so.0.9.7 is needed by amanda-backup_client-3.2.0-1.suse10.0.i586
where to find those files and how to install them? I'm running OpenSuSE 11.1
I'm fairly competent with Linux at this stage and as we have just installed a new Red Hat 5.5 Server to host our DB at work it has basically fallen to me to sort everything out. The only thing I'm not 100% on is a backup strategy at the moment. Basically, the server / DB is not that big and as such we will be doing a full backup every night of the whole file system.
As it is there are several LVM partitions across several disks (these are all virtual both on the SAN and as a virtual machine). My question is what would be the best way to create a full backup overnight of the whole server including all the partitions (or a backup of each partition I'm guessing is more feasible). This doesn't seem to be too difficult to do, but my main problem is restoring the backup.
Is it a simple matter of basically .tar'ing the whole / filesystem? and if so, to restore can I just use a live CD to restore the partition that is needed? How does LVM affect the restoration process? I have looked at Amanda as a backup solution, though we wont be backing up directly to tape (backup to a share location then copy to the tape drive).
Where can I download the latest Red Hat drivers for AMANDA?
View 2 Replies View RelatedI'm configuring Amanda Enterprise on an OpenSuSE 11.3 system, and everything but the scheduled backups are running. I decided to try and fix it tonight, but I'm pretty fed up by now.
So here's the background:
The application creates an account on the box named "amandabackup" and adds it to the 'video' and 'disk' groups.
It generates cron jobs in /etc/zmanda/zmc_aee/crontab, which is configured as the location of the crontab file for the amandabackup user.
The crontab is owned by amandabackup:disk with a mask of 644.
So I played around with it a little bit; I ran the backup task manually as amandabackup, which worked fine.
I then tried adding the following to the crontab:
And touched amandacron.log, then made sure it was owned by amandabackup with a mask of 644 (i also tried /etc/amanda/amandacron.log, which is a directory the account stores backup session configs in, so I know it can write to it properly). The file is never updated. I tried adding amandabackup to different groups (it's currently been added to the "Users" group), with no success. I tried a symlink to the crontab file in /etc/cron.d to see if that would make a difference, but it didn't.
At this point, I went online and tried some more stuff I found:
I checked /var/log/mail/amandabackup - everything *but* cron jobs were reporting to it.
I verified cron was running with both "ps -ef | grep cron" and "rccron status"
I ensured /var/spool/cron/tabs/amandabackup existed, showed the proper entries, and was set to 644. (this one's the important bit)I checked /var/log/messages, and every minute on the dot I see: <timestamp> /usr/sbin/cron[PID]: Permission Denied
I ensured there was no /etc/cron.allow, and that /etc/cron.deny did not contain amandabackup.
I tried making an /etc/cron.allow, adding amandabackup, and restarting the cron daemon, but this did nothing.
I don't think I've forgotten anything, but my attempts have been getting progressively more feverish, so I'm not positive. Is there some annoying YAST cron panel I'm not seeing? Is there some way of getting more verbose logging out of the cron daemon than just "permission denied"? Is there some draconian rule about crontabs only working based on some otherwise-arbitrary account setting?
I have looked many places for good tutorial on configuration of amanda client with Karmic, but none of them are good enough. I basically got following message no matter what I change in Client side.
1. I am using 64-bit Ubuntu Karmic client with 2.5.2p1 amanda-client with xinetd.
2. The user is backup, group is backup.
3. The config file is located at /etc/amandahosts, and /var/backups/.amandahosts and /var/lib/amanda/.amand ahosts using soft link to the /etc/amandahosts file.
4. /etc/amandahosts file have following line.192.168.0.14 backup amdump.The 192.168.0.14 is server IP address.