CentOS 5 :: Ftp Script To Make A Backup?
Jul 9, 2011
I am trying to create a script which will backup all my data to a remote ftp serverI need to tar all folders inside /data separately /data/as - /data/as/001 - /data/as/002 - /data/as/003 /data/as/004 - etc etcfor dir in */; do dir=`echo $dir | tr -d '/'`; echo $dir; tar czf $dir.tar.gz $dir; done
View 1 Replies
ADVERTISEMENT
Aug 23, 2009
I'm trying to add a scheduled full backup to the crontab file, but the full backup never completes; it always stops somewhre in the file system. I guess is b/c the os is updating those files or has them open. I've tried to use the --exclude options but still it always hangs somewhere else.... this is what I'm usingtar -zcvpf /mnt/storage/backup/fullbackup1.tar.gz --exclude=/mnt --exclude=/sys --exclude=/proc --exclude=/lost+found --exclude=/net --exclude=/srv / > /mnt/storage/backup/fullbackup.log
View 1 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
Feb 13, 2011
Now i want to create a resue disk for my Centos5.5i think mondoArchive tool is best for this job.i installed mondo by usingyum install mondoand it is intalled successfullybut i cant see it inApplication>sytem toolshow can i run it in a GUI mode.
View 7 Replies
View Related
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
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
Jan 1, 2011
I'd like to have a list of changes from default install or installed packages, and modified configs in order not to to waste space on binaries. This way, when restoring the script can just check if the packages are there, do configs match, and adjust accordingly.
View 3 Replies
View Related
Jan 12, 2011
How do you make a backup disc of your files, pictures and music in a quick, efficient way?
View 1 Replies
View Related
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
Oct 6, 2010
I'm looking for a simple solution to backup my CentOS Server (5.x) on a daily base to a mounted disk. I found the glastree tool but I have no clue if it will work on CentOS.All recommendations, tipps, hints and maybe scripts are welcome. Unfortunatelly I'm an Linux newbie and starting with Linux CentOS a couple of weeks ago
View 1 Replies
View Related
Jan 13, 2011
Newly installed Lucid and several programs to get it just the way I like it. I went to make a backup of the entire system with remastersys for the second time (first time was ok) but everytime it says iso file too big, which it is at 16gb plus. I have been through and double checked that my personnel files, pics, music, movies are all removed and my virtual machine. When checking with "Disk usage analyzer" it says I have 158.8GB free but when I check the home file system itself it says I have 150.1GB free. Note the missing 8.1GB. I believe this is the root of my inability to make a backup.
View 2 Replies
View Related
Mar 10, 2011
I'm trying to make a backup script with rsync that backups "/opt/example" to /mnt/sharedfolder/backup
And with each output the name would show the date of the backup & time. Then there would be 5 backups each time before the oldest would get replaced. I found something that I think does what I need but every time I run it I get this message.
Code:
rsync error: syntax or usage error (code 1) at main.c(1511) [Receiver=3.0.7]
./backupscript.sh: 65: /mnt/hgfs/bminecraft/: Permission denied
BTW /mnt/hgfs/bminecraft/ is chmoded to 755 and yes that is the correct path.
[Code]....
View 2 Replies
View Related
Oct 1, 2010
I have decided to remove Windows from my disk, but I want to keep my current install of Ubuntu.
One possibility that sprang to mind was to make an image out of my Ubuntu install.
Since I dual boot, the disk is numbered "SDA2" (extended) "SDA5" (root) and then there is Swap. (Windows is the first part of the disk)
One question sprang to mind:
If I make an image out of it, what happens to the numbers? Will there be any conflicts? Not to mention the question of which program would be best (and easiest to use, preferably with a GUI, since I want to save time, not learn code).
And if I would go for a binary dump to an external disk (to put it back when the destination disk is empty), would the same problems arise? Or would that bring even more problems, like the issue of the swap partition, which I would have to receate, since it wouldn't fit on the "dump disk"?
This is all because the whole thing sounds very similar to placing the ubuntu partition to the front of the disk, which, as I have been told, is not a good idea.
View 9 Replies
View Related
Jan 16, 2011
My ubuntu login window seems to be chrased and seems no way to restore it. I was planning to move ahead with reinstalling it but could any1 tell me how can i copy data to external hard disk. I am in Mannual restore section with promt staying at root@ubuntu :/#
View 9 Replies
View Related
Apr 20, 2011
As I checked some online backup solutions I have found information that all of this which I checked have only clients for Win or Mac. But I'm looking for solution with Linux client.As I have read some info on one of the Googled page Linux probably is ready for being an online backup solution as is.So my idea is to create automatic (in the background) backup of my files (photos and docs) with my outside hosting server. I have unlimited shared hosting server with ftp access. Is there any option to built such solution to make backup synchronisation between my Linux comp and shared hosting? What should I get to know to start with such option?
View 1 Replies
View Related
Aug 1, 2011
I have been using backintime so far. Now I am changing to 64bit and have installed backintime. I received first some kind of warning that the snapshots were converted to some new format. But still I can not do any snapshots with it, I am simply told backintime could not make any backups.
View 3 Replies
View Related
Dec 5, 2010
I would like to make a backup of my /home directory onto a NAS device, and have whatever software is used for the purpose update (new and changed files) every night, or perhaps everytime there is a period of inactivity. Any suggestions for a GUI package that will do this?
I do not want a complete backup each time, just the new or changed files. Also prefer software that backs up to a mirror of the original (i.e., uncompressed folders and files)
View 1 Replies
View Related
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
View Related
Dec 14, 2009
I have an issue that my BACKUP drive is listed twice. (internal FAT) I am running F12 32b. I have it listed in FSTAB so it will automount & set the permissions. I did this in the earlier versions I upgraded from. I would like to either get rid of the other entry or, if easier, make it auto & set permissions but I don't know where it is.
View 11 Replies
View Related
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
Aug 12, 2010
Here is what I would like to pursue: I would aim to create a USB drive which a system can boot from if needed. However, this system would not be the generic Lucid 10.04 iso, it would have specific packages that my current system has. Also, it would start up and run with my current system settings if possible.
I did look into Reconstructor, but it doesn't appear that that would have the capibility of changing the default settings to match my current system's settings. Also, it looked like there wasn't a way to upload a list of current packages of my system (I would have to manually select each package, taking quite a while). So is there any way to make a bootable USB matching my current system? Or is reconstructor the closest thing to that kind of customiz-ability?
View 2 Replies
View Related
Apr 1, 2011
Firstly I've never (successfully) upgraded before using update manager -d but I've only tried once. I'm on 10.10 at the moment but I want to make a full disk backup using Acronis and try out 11.04 beta 1 so if I can't boot (like with the 11.04 Alpha 3) I'm ok.
What I want to know is if I upgrade to beta 1 it will install new things and settings, if beta 2 is released and I upgrade to that (after having beta 1 installed) will it overwrite all the settings again? Or will I be able to spend time set beta 1 up nice how I want it (if it works) and just smoothly upgrade gradually to final 11.04 keeping it pretty much exactly how I want it?
Also with the software sources, I understand I need to disable the ones I manually added before updating from 10.10 then to re-enable them, but how do I re-enable them for Natty as they are currently for Maverick? Do I just change the word Maverick to Natty, or is it better to remove and re-add them for natty? And do the authentication keys need updating or are they ok? I don't really know a lot about the keys.
1 more thing (sorry) will an upgrade overwrite any settings I have e.g. etc/fstab, sudoers, things like that? I know when you upgrade it gives you an option for some things e.g. keep or replace, if I keep old settings from maverick does it matter? Or does 11.04 add new lines/things to these files if I choose replace?
Sorry for all the questions, I'm pretty new been using ubuntu as my only OS for couple months now and most of my time has been spent tweaking settings and I don't want to lose them, or do a clean install when 11.04 final is released as I won't ever be able to remember them all.
View 7 Replies
View Related
Mar 13, 2010
Tuesday night I wanted to make a backup of my Ubuntu ext4 partition via Clonezilla so I configured that an image had to be made and it would be saved on the NTFS external disk. But it said it needed 23 hours to create a 5gb backup, so I resetted my computer as this took too long. But after this, Ubuntu nor Windows recognized my drive.
I called Seagate and they told me after troubleshooting 30 minutes, that there is no option of fixing the drive and I had to send it to RMA. What could be wrong? Clonezilla works via a bootable ISO on Debian. The disk drive is still spinning. I already rebooted the external drive, but it's not working. In Linux the disk is no longer mounted and cannot be mounted:
Code:
brw-rw---- 1 root disk 8, 16 2010-03-12 00:50 /dev/sdb
brw-rw---- 1 root disk 8, 32 2010-03-12 00:50 /dev/sdc
brw-rw---- 1 root disk 8, 48 2010-03-12 00:50 /dev/sdd
brw-rw---- 1 root disk 8, 64 2010-03-12 00:50 /dev/sde
What could have happened? Would the data still be accessible on the internal drive? Did I just loose 1.5TB data that was stored on the external disk?
View 4 Replies
View Related
Dec 24, 2009
I'm running CentOS 5.4 on a Dell Xeon PowerEdge 1850. I want to back up an RHEL 4x web/mail server, 2 WinXP workstations, and 2 Ubuntu desktops....and I want them to go to my Dell LTO2 tape drive. What are my best options? I want a series of incremental daily backups and then a different series of weekend full backups.
I should have clarified that this is all in a small office LAN environment and that the RHEL web & mail server is another PowerEdge 1850 that is co-located with the CentOS server (same rack).
View 1 Replies
View Related
Dec 25, 2009
I am planning to implement a backup strategy to backup my basic system ,applications installed and the different configurations also of the personal data (From documents , music etc , to my photos , 3d design files etc) I have a Hard disk (well SSD really) of 120GB for the system (8GB Swap,30GB / and 60GB /home), one 750GB Hdd for save my music,photos,images and other things not related to 3d design , and i am going to buy tomorrow 2 hdds more , one of 1 TB for use only for 3D design , for save final images , models , textures , 3d related documentation and like , and one 1,5 TB HDD to use as backup of the personal data and the system. (One 500 Gb partition for backup system, and hold clonezilla images, and one for backup the data for example)
By the moment what i have done , is use clonezilla to save a image of / and another image of /home in my other hard disk (I save a image of system installation in ext3 prior migrate to XFS , and later , one image with the system migrated to XFS) and i have used Rsync to copy both / and /home to two partitions in the other hard disk , so have a copy also of clonezilla images. I think use clonezilla ,is useful to do each some time,so be able to have a fast way of recover the system , but i would like to implement a daily or weekly backup of my data and system , for example making a full backup and then incremental backups.
Perhaps for backup data this is a good aproach , but for backup configuration files , and the system in general ? , i mean , if i backup the things while using the system , could some files being not backuped , because being used ?
If i decide to install,for example, my new Wacom Intuos4 M tablet, for that i need to install the kernel source , and compile some modules and things by hand (because repository packages of wacom are a bit older than need for new intuos4) ,that will change my system and add new libraries and files to it.
If i make a full backup , and then incremental backups , each some time , if i have a problem or make a mistake when installing it or doing something , i have only to restore the backups via live cd, no ?
But if some files are being used , that, will not be backuped, so when restore it , that files , will be modern versions compared to the backup (perhaps that files would not be later modified , but who knows) and i could have problems no ? Perhaps a solution is have a clonezilla image of the system prior the first full backup ,and restore it fist to have a new installation ,with all files , used included, and then restore the full backup of the 1h later ,and the incremental backups until the moment all gone bad , to have the system working again no ?
So i don't have to be worried by files used by the system as long as also of doing online backups , also have a exact image of my system , that will make me able to restore it in some minutes and don't have to install all , by hand and remember what i had installed. Also that lets me to backup only , at least when doing full and incremental backups , the directories of the system that are dynamic, and change , and those that are static , backup them only one time.
View 2 Replies
View Related
Jul 19, 2010
I have a CentOS 5.4 installation with 2 Hard Drives [Disk 1 and Disk 2]. I have mounted the Disk 2 as a ext3 partition called /backups within the OS installed in Disk 1 [other partitions on Disk1 include / and SWAP].
I have a CRON job that creates specific backups of Disk 1 onto Disk 2.
This works fine.
My Problem : I wish to move Disk 2 to a New Box on which Iam planning to load the same CentOS 5.4.
My Questions :
1. Will Disk 2 be immediately identified in the new install and I add it as another partition in the new install ?
2. Do I have to perform any specific set of operations to integrate Disk 2 into the new Box ?
3. this kind of migration of a Disk partition contained on a Seperate Hard Disk cannot be migrated to a New install CentOS Box ?
View 1 Replies
View Related
Jun 27, 2011
on my server I have atMail and a intranet site being hosted using mySQL for the database locally, and obviously backing it up would be a good thing. I got the backup package from the list if you use the add/remove software called dump-0.4.etc.. can't seem to find much on how to use it, set it up, nothing. Granted I could be looking for the wrong thing which I'm sure is the case. As of now it's looking like a USB drive is going to be my only option, that will change in the future as this "project" goes further (we are a windows shop trying out Linux, and the next step is going to be adding another server that's a file server at that point we'll probably go to NAS for the backup and then transer that to a USB for offsite/secondary backup).
View 2 Replies
View Related
Jul 9, 2009
I have re-installed our operating system (CentOS 5) ,what is the best way to restore our Samba server? Can it be as simple as copying the smb.config and smbpasswd files back into the /etc/samba directory? That's what I am hoping. If I just copy the smb.config and the smbpasswd files back to the samba directory will the machine trusts, users and passwords just work? If not, what is the proper procedure for restoring. Actually i want to make CentOS 5.3 as my Domain Controller, I want to test all Scenario in case of any disaster of DC before putting it into production environment. I have some queries as:
1. Is CentOS 5 is more stable than RHEL 5 etc.
2. How can i take back up of entire samba server if need it in case of any disaster. How can i restore it.
3. How can i use logon scripts like GPO in windows servers.
4. How can add users in samba server and linux at one time with one command.
5. tell me any Web based samba administration tool other than SWAT.
View 1 Replies
View Related
Jan 7, 2010
Is there anywhere that gives detailed (suitable for non-experts) instructions on how to install rdiff-backup?
Only ancient versions seem to exist in any repository, which appears to rule out use of yum. Finding rpm packages also seems extremely difficult. And I'm not too clear what would be required to install from sources.
View 2 Replies
View Related
Aug 19, 2010
Now, i thinking solution: Backup Data on Server CentOS to HDD Box. When server error, i can restore Server from HDD Box.
View 1 Replies
View Related