Slackware :: What Is Quickest And Safest Way To Backup Root & Home Partitions?

Jul 28, 2011

I would like to attempt creating a cron job to backup my root (/dev/sda1) & home (/dev/sda3) partitions to an external USB drive.I have been using Clonezilla to make image backups but, I have to physically do it, when I remember or have the time. I have never created a cron job, and worse, I have never created a .sh file which, I think, is what I need to do.

View 12 Replies


ADVERTISEMENT

Ubuntu Installation :: Order Of Partitions For Root / Home And Swap With Respect To Windows Partitions?

Feb 9, 2011

I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?

View 1 Replies View Related

Ubuntu :: Resizing Both Root And Home Partitions?

Jan 27, 2011

What I want to do is enlarge both my root partition by about 10 GB and also enlarge my Home partition by about 45 GB. I realize there is enough space in the root partition for expansion (see screen shot) but I want to be certain (some of the last updates have been over 100 MB). I have a dual boot 10.10 64 bit system with XP . There are two drives ; a 1 TB drive with Windows, Ubuntu and a NTFS data partition and a 2 TB drive for media which won't be touched by this operation. I have taken about 58 GB from my Windows partition and this now sits unallocated and ready to be used to expand the Ubuntu partitions. expanding these partitions (root and home) would be appreciated. I read bodhi.zazen' excellent tutorial on partitioning [URL] but I still am unsure how to go about this. I have a live Meerkat CD.

View 9 Replies View Related

Ubuntu :: Which Is Root Swap Home Labels The Partitions?

Apr 30, 2010

Is there a command that tells you what the partitions are fdisk -l shows partitions I want to know which is root swap home etc, Labels the partitions?

View 6 Replies View Related

Installation :: Safest Procedure To Install 10.4 On An Existing Lvm2 Without Losing My Files/partitions?

Apr 18, 2010

I am planning to install 10.4 when it arrives. And am not going to upgrade because i upgraded from 9.04 to 9.10 so now i need to refresh the system.But I have all my partitions except root using lvm2 logical volumes. My question is : What is the safest procedure to install 10.4 on an existing lvm2 without losing my files/partitions

View 2 Replies View Related

Debian Installation :: Keep Home And Var Partitions Intact And Just Reinstall Everything In Root (/) Partition

Apr 4, 2010

Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.

I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.

I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?

View 4 Replies View Related

Slackware :: How To Run Rsnapshot To Backup Home Directory?

Apr 24, 2010

I have installed rsnapshot from slackbuilds.How to run it to backup home directory?I'm also reading the official docs.

View 3 Replies View Related

Ubuntu Installation :: Fresh Install: Erase Root And Home Partitions Required?

Apr 28, 2011

I will be installing Natty using the alternative CD.My system has a separate Home partition.Do I need to erase the contents of the Root and Home partition with gparted or similar,prior to the fresh installation of Natty or will the installer take care of all that automatically?

View 5 Replies View Related

Programming :: Best / Safest Way To Capture Root Password

May 31, 2011

I have a script which when invoked will generally su into being a number of different users (for those that have read other threads from me, you will know.I am building my own user based package management system).Whilst 75 - 80% of the time there will be no need to be anyone other than the original user, there are times when the root password is required. Currently this is presented to the administrator at exactly the point in the script that it is required.At times this may be more than once and it may also happen for multiple users in a row.

What would be the best / safest method (in your opinion) of capturing the password at the start of the script and then delivering it when required?I have looked at expect ( I am not at all familiar ), but on the examples dealing with passwords, that I could find, they all seem to store the password in a simple bash like variable (which does not excite me at all from a security point).I can also potentially go down the sudo road, but the issue here is that I would either have to find a list of commands that an entire group can have access to without passwords (doesn't sound safe) or I am back to square one of then requiring a password for each individual user to be entered, which if at the start would still need to be captured and saved until necessary.So as I have said, I am open to any and all (constructive) advice

View 14 Replies View Related

OpenSUSE Install :: Safest Way To Upgrade Using New Installation While Keeping Existing Home?

May 23, 2011

Having read several threads and received excellent previous advice there are just a couple of points I want to check please before proceeding on laptop. I want to upgrade to 11.4 from 11.2. My disk setup is as follows:-

Disk /dev/sda: 120.0 GB, 120034123776 bytes
240 heads, 63 sectors/track, 15505 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x462d462c

[Code]..

If I select existing /home root and swap partitions, format root but prevent formatting of /home and use a different user ID I believe that will leave my existing data intact and will allow me to trial new os. Is this correct approach? If all goes well and when I have new system working correctly, what is best way make old user id date accessible. Can I simply create my old id on new system and will that allow me to access data when I log on with that id?

Second question; at present I have the ability to boot to openSUSE, OS/2 and windoze. (It used to be done entirely by Boot Manager but during my last Linux installation I messed this up a bit so now machine boots to grub and this offers all three operating systems but chain loads Boot Manager if I select OS/2)

When I do the new installation what should I select to retain this setup so that I still have access to windoze and OS/2 but when selecting linux have new 11.4 system run.

View 9 Replies View Related

Slackware :: Is It Safe To Resize Slackware Partitions After Removing Mint 10 Partitions?

Feb 17, 2011

I've reached a point in my Slackware journey where I feel confident enough to remove my Mint 10 linux. It used to be my 'go to distro' when I trashed my Slackware installation. Now, I have Slax on a USB and I think that is enough.Mint 10 occupies /dev/sda5 (root) and /dev/sda6 (home) while Slackware occupies /dev/sda7 (root) and /dev/sda8 (home).If I delete the /dev/sda5 & /dev/sda6 partitions, can I very safely resize /dev/sda7 and /dev/sda8 to use the space freed up?

View 14 Replies View Related

Ubuntu :: Back In Time To Backup Home Directory To A Second Hdd That Is Mounted At /media/backup?

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

Ubuntu :: Real Time Backup In A Folder Called /home/backup?

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

Ubuntu :: Using Old Home Backup In Separate Home Partition

Mar 28, 2011

recently i made a backup of my home directory in 10.10 before reinstalling 10.10. again.This time I chose to manually define the partitions (50GB Root, 25GB Swap, 325GB Home)Now i wish to migrate the old home into the newly installed home, which is on a separate partition.I have found the following documentation URL...Still, as a beginner I am not quite sure about the necessary steps to perform.As the new home is located on a separate partition is it possible to simple delete all directories there and copy all directories from old home to new home with rsync?

Do I have to install all the software that corresponds to the old home first followed by migrating home or first migrating home followed by installing the software such as thunderbird, Texlive2010 etc.Guess that migration should take place at a later stage. Otherwise my old profile files from firefox and thunderbird will be overwriten by new ones?

View 1 Replies View Related

Slackware :: Complete Backup Solution Ike 'Acronis True Image Backup And Recovery

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

OpenSUSE Install :: Create A Root Backup Image Of The Root Partition ?

Oct 12, 2010

Since I installed MS2 I messed up grub. Finally I got 11.3 back to its old glory.

What would be the best procedure to create a backup image with all settings and permissions ...just in case ?

View 5 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

Fedora :: Restored Partitions From Backup / Now HAL Fails

Jan 12, 2010

I was trying to do a yum update from F10 to F11, which I screwed up early, but decided to try to fix along the way. I eventually gave up, and decided to restore the system from backup and restart the process.Thing is, however I try to do this, the HAL daemon fails on bootup, which prevents the system from properly going into runlevel 5. It actually does boot to the KDE login screen, but then refuses mouse or keyboard input.

The file systems look right after restore, and I have used this backup and restore procedure many times successfully. It's just a simple tar copy of the individual file systems: boot, root, usr and var. I also backup /home, but had no reason to restore it. tmp is also a mounted fs.At first, I simply overwrote the existing filesystems with the backup data, but thinking this is what was causing the problem, I recreated the file systems and restored to bare metal. Same problem.After that, i thought that perhaps the problem was that I'd only restored boot, root and usr (not var) not realizing that var is important to HAL, so I then erased and restored var. Same problem.The next logical move would be to erase and restore all four file systems simultaneously, but in addition to being very time consuming, I'm not sure it will do any good. Plus, the problem itself has become interesting.I also know that any sane person would have done a fresh install from the F11 disks by now, but what fun would that be? I can't help but feel there's a simple solution I'm overlooking. Any Ideas?Special bonus question: Due to some hardware changes, the default network device (eth0) no longer actually exists on this box. The actual network device is now eth1. Any idea how I can bring this up in runlevel 3 so I can at least get the damn thing back on the network?

View 2 Replies View Related

Ubuntu :: Does Windows Image Backup All Partitions?

Jan 17, 2011

It says "This backup could take up 172 GB of hard drive space" and my C: "Used space" is at about 172 GB. So will the Ubuntu partition be backed up?

View 3 Replies View Related

Ubuntu :: Restore A Macrium Backup On One Of Its Two Partitions?

Feb 11, 2010

my old 80gb pata HD showed a dual boot Ubuntu - XP on startup, although ubuntu never worked, onlly XP booted.

Recently I tried to Restore a Macrium backup on one of its two partitions, & spoiled something.

On boot up it says:-

GRUB loading stage 1.5

GRUB loading please waite.....

Error 22

I tried to reinstall Ubuntu 10.8 with no success, & also XP with "R" for repair again with no success.

View 1 Replies View Related

Ubuntu :: Grub Error 22 - Restore Macrium Backup On One Of Two Partitions

Feb 11, 2010

my old 80gb pata HD showed a dual boot Ubuntu - XP on startup, although ubuntu never worked, onlly XP booted. Recently I tried to Restore a Macrium backup on one of its two partitions, & spoiled something. On boot up it says:-

GRUB loading stage 1.5GRUB loading please waite Error 22

I tried to reinstall Ubuntu 10.8 with no success, & also XP with "R" for repair again with no success.

View 3 Replies View Related

Programming :: Quickest Way To Get Thread Id

Jun 24, 2010

What is the quickest way to get the thread id(tid) of the current thread in linux? Specifically I use fedora 13. ...and I am talking about inside a C++ program.

View 2 Replies View Related

General :: What's Quickest Most Portable VM?

Feb 25, 2010

Well, I want to be able to run some Linux in a VM at my school (on WinXP systems), via a USB stick.Two problems:

- Computers are mediocre
- Will be on many of them

I tried portable virtualbox but it starts very slow and runs slow without the guest additions. It just doesn't work right.What I need is a quick, portable VM that starts up quick and runs decently; I'm not expecting all that much from a USB stick but at least smooth cursor movement.I would like one that allows me to save changes on the virtual HDD, as opposed to a LiveCD style VM.

View 8 Replies View Related

General :: How To Backup / Home?

Oct 6, 2009

How do I backup my /home before the new version of Ubuntu comes out later this month. I am running Ubuntu 9.04 I really do not want to have to redownload my themes and everything.

View 3 Replies View Related

Ubuntu :: Use Other Partition As Home + Backup?

Jun 19, 2010

I have a Dell laptop with dual-boot Vista-Ubuntu. I never ever used Vista and am not planning to.I'd like to move from 9.04 to 10.04. I know how to backup and run an update already. But for the sake of simplicity, i'd prefer to erase the data of the current Vista-partition and use it as my /home content.It makes more sense to me, so i don't have to make a backup of everything for ever again and again when installing or updating my OS.

View 9 Replies View Related

General :: Need To Backup / Home Directory

Sep 10, 2010

I need to backup my /home directory because I want to switch from Fedora to OpenSUSE but I didn't put /home as a separate partition so I need to back it up. Problem is, I can't figure out how.I've tried tar and gzip through every google hit I can possibly find but not one has worked.

View 7 Replies View Related

General :: Quickest Way To Share File From Shell

Jul 30, 2010

I'm using Ubuntu minimal install (With no window manager). What is the quickest and easiest way to upload a file somewhere? Something like a script to pastebin would work.

View 2 Replies View Related

General :: Which Version Is Quickest To Boot From Live CD?

Sep 16, 2009

I have used freespire and PCLinux these are both full Linux versions but they both take a good while to a) install and b) run from the Live CD, can anyone recommend a stripped down version of Linux that is quick to boot from a live CD etc but still has a good amount of featues, for testing purposes?

View 9 Replies View Related

Programming :: Quickest Way To Do Multiple Searches For Files

Apr 15, 2010

I am looking for the quickest way to do multiple searches for different files.Here is the scenario: I want to search for various icons one by one in a script. Preference is for the gnome icon theme.

The echo piped into grep part seems to take a long time. Is there a quicker way of doing this?I do not want to use slocate, sqlite or the like since that will require admin privileges to update the database and/or extra dependencies.

View 5 Replies View Related

OpenSUSE Install :: Backup /home (all Users)

Apr 20, 2010

I want to backup all the data in my /home folder/partition (before upgrading).

1. In How to migrate to a new openSUSE version - openSUSE it is only written how to backup *one* users data.

If you know the path to your external harddisk, just open a konsole and do:

Code:
$ su
1. cd /home
2. cp -b -vvv username_to_be_backed_up /media/<folder_of_your_external_harddisk>

How can I backup *all* users' data in one folder "home-double"?

2. Has the external disk have to have any special file system?

I have an 500 GB disk in fat with some data already on it. Can this be used? Or do I have to make an new (ext3?) partition on my external hard disk to preserve permissions? Do I have to worry about big files under FAT?

3. Should I make anything to get sure that all data is the same in "home-double" as in "/home"?

Now I am using (on my Samsung X20) openSuse 11.1 and Gnome 2.24.1 (mostly, 1 account is using KDE) and Kernel Linux 2.6.27.45-01.1-pae. "/home" is on an separated partition (as part of an extended partition). I have also 2 NTFS partitions for Windows XP (System and Data), and a FAT, a root (/) and a swarp partition.

View 9 Replies View Related







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