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 !

Bubba Storage with Raid

Got problems with your B2 or B3? Share and get helped!
Post Reply
Puma
Posts: 230
Joined: 29 Sep 2008, 06:30

Bubba Storage with Raid

Post by Puma »

Excito,

Can you please give us the status of the Storage with Raid support?

Carl??

Thanks in advance.

Puma
ubbe
Posts: 40
Joined: 09 May 2009, 01:17

Re: Bubba Storage with Raid

Post by ubbe »

Puma wrote:Excito,

Can you please give us the status of the Storage with Raid support?

Carl??

Thanks in advance.

Puma
Yes im waiting too. o need to buy storage modul if no raid or mirror funktion...

Best regards
Ubbe
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa »

Currently RAID and backup is in testing phase, but it is hard to estimate release dates due to the difficulties in testing and resolving found bugs.

We are doing our best to deliver it ASAP, so hopefully within a couple of weeks.

/PA
Puma
Posts: 230
Joined: 29 Sep 2008, 06:30

Thanks

Post by Puma »

Pa,

Thanks for your anwer.
We wil look forward to it!

Please keep us informed about the status.

Puma
darione75
Posts: 76
Joined: 06 Aug 2008, 12:28

Re: Bubba Storage with Raid

Post by darione75 »

I hope that asap will be available an automatic function for have a RAID solution on bubba. With bubba storage (that i'll buy when excito guarantee me the fully function) or other usb disk... I've try to create an automatic backup with the guide into howtos but it's complicated for me and i don't want to compile anything. There will be available an automatic solution (as time-machine in apple) because this is a professional product and i have all my work and personal email inside..
Puma
Posts: 230
Joined: 29 Sep 2008, 06:30

Re: Bubba Storage with Raid

Post by Puma »

Hello,

For the time beeing I use an usb drive for autom. backup.
I can share this script file for you to adapt your needs.

If you have the script it is easy to automate it with shell.

Let me know what you want.

Puma
Linux is like a wigwam - no windows, no gates, apache inside!
trencarbe
Posts: 103
Joined: 11 Aug 2008, 16:02

Re: Bubba Storage with Raid

Post by trencarbe »

For the time beeing I use an usb drive for autom. backup.
I can share this script file for you to adapt your needs.
Yes please! :)
Puma
Posts: 230
Joined: 29 Sep 2008, 06:30

Re: Bubba Storage with Raid SCRIPT AUTO BU

Post by Puma »

For backup of my photos which are stored in /home/photos/ I use the following script.

I run this script with CRONTAB to automate it (I use it once a month for a complete photo backup… its quite a lot of Gb and the photos are not changing frequently so for me that’s enough.


The crontab entry is easy.

Just activate shell and type crontab –e
Than you can

# m h dom mon dow command
MAILTO=""
00 04 1 * * /home/storage/extern/ photobackupUSB.sh.sh

In this example the script is started every first of the month starting from 4:00 am.
MAILTO=”” is added to prevent emails send by crontab.





This is the script file I use (photobackupUSB.sh)

#!/bin/bash
# Crontab -e

SOURCEPHOTOS2002="/home/storage/photos/2002"
SOURCEPHOTOS2003="/home/storage/photos/2003"
SOURCEPHOTOS2004="/home/storage/photos/2004"
SOURCEPHOTOS2005="/home/storage/photos/2005"
SOURCEPHOTOS2006="/home/storage/photos/2006"
SOURCEPHOTOS2007="/home/storage/photos/2007"
SOURCEPHOTOS2008="/home/storage/photos/2008"
SOURCEPHOTOS2009="/home/storage/photos/2009"

#If you declare above information of the paths you don’t have to change things below


#photo backup
cp -rv ${SOURCEPHOTOS2002} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2002
cp -rv ${SOURCEPHOTOS2003} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2003
cp -rv ${SOURCEPHOTOS2004} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2004
cp -rv ${SOURCEPHOTOS2005} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2005
cp -rv ${SOURCEPHOTOS2006} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2006
cp -rv ${SOURCEPHOTOS2007} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2007
cp -rv ${SOURCEPHOTOS2008} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2008
cp -rv ${SOURCEPHOTOS2009} /home/storage/extern/[your external device]/Backup/$(date +%Y-%m-%d)-photobackup2009
Linux is like a wigwam - no windows, no gates, apache inside!
darione75
Posts: 76
Joined: 06 Aug 2008, 12:28

Re: Bubba Storage with Raid

Post by darione75 »

Thanks for the script. My data is more chritical then photo (absolute respect..). I manage my work mail, so i need a backup at least daily or in real time better... i think that raid solution is the optimal solution and i think that we'll be for excito the killer application for sell bubba sotrage..
Puma
Posts: 230
Joined: 29 Sep 2008, 06:30

Re: Bubba Storage with Raid

Post by Puma »

darione75,

I will submit a daily mail backup solution this evening in this post maybe you can use that one.
I backup my mail every night. (sunday one complete copy and every other day a compressed TAR)

REMEMBER: RAID IS NOT BACKUP!! for example if you delete a file the raid file will delete this also on the other disk REALTIME....!
This happens also with virusses etc. it only helps when one harddisc fails (which is very nice but you stil need backup!!!)

Puma
Linux is like a wigwam - no windows, no gates, apache inside!
pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Re: Bubba Storage with Raid

Post by pa »

I just wanted to agree with Puma, RAID is not backup...

In the same release as RAID we will also release a new backup-solution, with possibilities to run backups of Bubba to either an external disk or offsite to another server.
There are numerous options for this backup and will give the possibility much like the "time-machine" on MAC to go back in time and select files from a previous date.

/PA
darione75
Posts: 76
Joined: 06 Aug 2008, 12:28

Re: Bubba Storage with Raid

Post by darione75 »

Many thanks PUMA i'll wait your script!
Pa, i'll wait the new raid function and backup solution for buyng bstore.
For both, i agree with you. With raid i'll have a solution that never shut down and works continuosly.I want to have server always on without stop (holiday incluse...)
Thanks to all
Puma
Posts: 230
Joined: 29 Sep 2008, 06:30

Re: Bubba Storage with Raid

Post by Puma »

Gents,

At last my USB backup automaticly on Sunday complete copy and a TAR on every other day.

USB backup of Documents folder ervery sunday a TAR and every monday a true copy.

Again trigger it with CRONTAB as in my previous post.

Good luck for the moment with this script and awaiting EXCITO.
Thanks "Pa" it looks very good (raid in combination with a backup solution!!)


#!/bin/bash
# Crontab -e

SOURCEMAIL="/home/hdroogers/Mail"
SOURCEDOCUMENTS="/home/hdroogers/DOCUMENTS"
MAILOWNER="MailUser"
DOCUMENTSOWNER="DOCUMENTSUser"
BACKUPMAILLOG=/home/storage/extern/disk_0/Backup/$(date +%Y-%m-%d_%A)-${MAILOWNER}.log
TARMAILNAME=$(date +%Y-%m-%d_%A)-${MAILOWNER}.tar
TARMAILLOCATION="/home/storage/extern/disk_0/Backup/TAR/"
TARMAILLOGNAME=$(date +%Y-%m-%d_%A)-${MAILOWNER}.log
TARMAILLOGLOCATION="/home/storage/extern/disk_0/Backup/TAR/"
TARDOCUMENTSNAME=$(date +%Y-%m-%d)-${DOCUMENTSOWNER}.tar
TARDOCUMENTSLOCATION="/home/storage/extern/disk_0/Backup/TAR/"
TARDOCUMENTSLOGNAME=$(date +%Y-%m-%d)-${DOCUMENTSOWNER}.log
TARDOCUMENTSLOGLOCATION="/home/storage/extern/disk_0/Backup/TAR/"



if [ $(date +%A) = 'Sunday' ]
then
mkdir /home/storage/extern/disk_0/Backup/$(date +%Y-%m-%d-%A)-${MAILOWNER} > $BACKUPMAILLOG
cp -rv ${SOURCEMAIL} /home/storage/extern/disk_0/Backup/$(date +%Y-%m-%d-%A)-${MAILOWNER} > $BACKUPMAILLOG
else
echo "### Backup MAIL VIA TAR ###" >> ${TARMAILLOGLOCATION}${TARMAILLOGNAME}
tar -cvf ${TARMAILLOCATION}${TARMAILNAME} ${SOURCEMAIL} >> ${TARMAILLOGLOCATION}${TARMAILLOGNAME}
echo "### End MAIL BACKUP VIA TAR ###" >> ${TARMAILLOGLOCATION}${TARMAILLOGNAME}
fi


#DOCUMENTS backup TAR
if [ $(date +%A) = 'Sunday' ]
then
tar -cvf ${TARDOCUMENTSLOCATION}${TARDOCUMENTSNAME} ${SOURCEDOCUMENTS} >> ${TARDOCUMENTSLOGLOCATION}${TARDOCUMENTSLOGNAME}
else
echo "no TARbackup needed of DOCUMENTS"
fi

#DOCUMENTS backup TAR
if [ $(date +%A) = 'Monday' ]
then
#mkdir /home/storage/extern/disk_0/Backup/$(date +%Y-%m-%d)-${DOCUMENTSOWNER}
cp -rv ${SOURCEDOCUMENTS} /home/storage/extern/disk_0/Backup/$(date +%Y-%m-%d)-${DOCUMENTSOWNER}
else
echo "no backup needed"
fi




Puma
Linux is like a wigwam - no windows, no gates, apache inside!
Post Reply