New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
B2 => B3 best (safest) way to copy data
B2 => B3 best (safest) way to copy data
Hello,
Next week I get my bubba 3.
Now I'm thinking of the best way to get my old data on the new one.
I now have B2 with RAID 1
1. Can I unpack in install my B3 and when done connect my RAID1 ( bubba storage) and recover to get my data on the B3??
2. Should I copy or backup my data to external disk and after install b3 copy it back?
3. How will the user folders react?
4. Can I just copy the Horde data back?
Thanks
Puma
Next week I get my bubba 3.
Now I'm thinking of the best way to get my old data on the new one.
I now have B2 with RAID 1
1. Can I unpack in install my B3 and when done connect my RAID1 ( bubba storage) and recover to get my data on the B3??
2. Should I copy or backup my data to external disk and after install b3 copy it back?
3. How will the user folders react?
4. Can I just copy the Horde data back?
Thanks
Puma
Linux is like a wigwam - no windows, no gates, apache inside!
Re: B2 => B3 best (safest) way to copy data
Hello Puma,
I asked the same question...
Would could work:
- do the backup of the B2 and do a restore on the B3 (all users should be there)
- then a "repair"using the raid disk.
Reaction of PA Nilsson
* To restore data, you should be able to connect the external RAID disk
to B3 and choose to recover data. However it is not tested to use a disk
from B2 but I do not see a reason for why it should not work.
* On B2, as root make a copy of the files "/etc/passwd" and "/etc/shadow"
* Copy the file to B3 to a temporary directory
* On B3, as root, manually edit the /etc/passwd and shadow files adding
the lines with the users, starting below the "admin"-user.
* If you have accounts that fetch mail, also copy the file
/etc/fetchmailrc from B2 to B3
He wanted to make a Wiki out of this..
Rene
I asked the same question...
Would could work:
- do the backup of the B2 and do a restore on the B3 (all users should be there)
- then a "repair"using the raid disk.
Reaction of PA Nilsson
* To restore data, you should be able to connect the external RAID disk
to B3 and choose to recover data. However it is not tested to use a disk
from B2 but I do not see a reason for why it should not work.
* On B2, as root make a copy of the files "/etc/passwd" and "/etc/shadow"
* Copy the file to B3 to a temporary directory
* On B3, as root, manually edit the /etc/passwd and shadow files adding
the lines with the users, starting below the "admin"-user.
* If you have accounts that fetch mail, also copy the file
/etc/fetchmailrc from B2 to B3
He wanted to make a Wiki out of this..
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: B2 => B3 best (safest) way to copy data
You can also do like this..
1.Start up B3 and set up users an who ho can use ssh and change the admin pw, you could also shut down all unnecessary services to speed up the process.
2.SSH in to B3
3.Su to root so you can install mc and screen.
Default password is excito.
Update apt-get
Install Screen http://www.neophob.com/2007/04/gnu-screen-cheat-sheet and Mc http://www.scribd.com/doc/19113288/Midn ... nder-Guide
Exit su
Start screen so you can leave the session alive.
Start mc.
Now the fun starts..
If you have used Norton comander you should do all right.
Use F9 and the arrow and go to where it says left, then go down tho where it stand FTP and press enter.
Then write in the username, pasword and ip nr to the B2
If ftp is enabled on the B2 you are all set to start copy files whit F5.
OK you have now started copy 200 gigs of data an want to do some thing else.
Then just press CTRL a d to detach the screen.
If you want to check on how it doing, just reattach it whit.
// Jalle
1.Start up B3 and set up users an who ho can use ssh and change the admin pw, you could also shut down all unnecessary services to speed up the process.
2.SSH in to B3
Code: Select all
ssh username@ip_nr_off_bubba
Code: Select all
su
Update apt-get
Code: Select all
apt-get update
Code: Select all
apt-get install screen mc
Code: Select all
exit
Code: Select all
screen
Code: Select all
mc
If you have used Norton comander you should do all right.
Use F9 and the arrow and go to where it says left, then go down tho where it stand FTP and press enter.
Then write in the username, pasword and ip nr to the B2
Code: Select all
/#ftp:username:pasword@ip_nr_off_b2
OK you have now started copy 200 gigs of data an want to do some thing else.
Then just press CTRL a d to detach the screen.
If you want to check on how it doing, just reattach it whit.
Code: Select all
screen -r
Re: B2 => B3 best (safest) way to copy data
Thanks, great post!
I'm a long time fan of Norton Commander, I have dabbed with Midnight Commander... but for some reason I had forgotten all about the FTP support within MC.
Great way to selectively copy what you want between BUBBAs
I'm a long time fan of Norton Commander, I have dabbed with Midnight Commander... but for some reason I had forgotten all about the FTP support within MC.
Great way to selectively copy what you want between BUBBAs
MC display graphics
Back again... I did manage to copy everyting fine with MC to my new B3 Thanks.
But what is the recommended way to make MC display it's graphics nicely on the B3/Debian system?
I am using PuTTY to login to my B3 and when I run MC it works fine but the character grahphics are not looking too good. I've tried to change the display using the MC Options menu but it doesn't seem to work.
Any tips for how to make it look nice as well?
But what is the recommended way to make MC display it's graphics nicely on the B3/Debian system?
I am using PuTTY to login to my B3 and when I run MC it works fine but the character grahphics are not looking too good. I've tried to change the display using the MC Options menu but it doesn't seem to work.
Any tips for how to make it look nice as well?
Re: MC display graphics
I am a Linux user so cant help you whit that grahpics, sorry..yooakim wrote:Back again... I did manage to copy everyting fine with MC to my new B3 Thanks.
But what is the recommended way to make MC display it's graphics nicely on the B3/Debian system?
I am using PuTTY to login to my B3 and when I run MC it works fine but the character grahphics are not looking too good. I've tried to change the display using the MC Options menu but it doesn't seem to work.
Any tips for how to make it look nice as well?
But i happy that all copying went well.
Re: B2 => B3 best (safest) way to copy data
the graphics in MC is a common issue with puTTY users.
Entering the following sometimes works...
Also, change the windows translation option in puTTY towards OR away from UTF8 (I use SO-8859-1 (Latin-1)). See what works best for you.
But to get back to the original topic: Why do you not use Rsync to copy data. It is meant for the job, it's secure, you can pause and restart, it has all the options for preserving file attributes you ever heard of and it's rather easy to use.
Don't use FTP for these things. There are alternatives!
Ubi
Entering the following sometimes works...
Code: Select all
export LANG=C
But to get back to the original topic: Why do you not use Rsync to copy data. It is meant for the job, it's secure, you can pause and restart, it has all the options for preserving file attributes you ever heard of and it's rather easy to use.
Don't use FTP for these things. There are alternatives!
Ubi
Re: B2 => B3 best (safest) way to copy data
You are so right!Ubi wrote:But to get back to the original topic: Why do you not use Rsync to copy data. It is meant for the job, it's secure, you can pause and restart, it has all the options for preserving file attributes you ever heard of and it's rather easy to use.
Don't use FTP for these things. There are alternatives!
Ubi
But ftp is fast.. and in my case it is just some movie and music ..
Jallee
Re: B2 => B3 best (safest) way to copy data
fair enough