Re: Linux --- FreeBSD migration problem

2012-10-06 Thread Gour
On Tue, 05 Apr 2011 07:24:05 -0400
Jean-Louis Martineau martin...@zmanda.com wrote:

Here I'm again...

  Linux: 3.2.2
  FreeBSD: 3.2.1

 A downgrade, some log line format changed, you must upgrade to 3.2.2.

More than one year ago I moved from Linux to Free/PC-BSD-9.0 (it was
not released yet), but after some time returned back to Linux and to
Bacula since I could not any longer compile Amanda - see my comments:

https://aur.archlinux.org/packages.php?ID=29616

Now I did try 9.1RC1 and it is huge improvement for the desktop and I'm
going to move very soon to PC-BSD and back to Amanda.

However, this time, on Linux my working version is 3.3.1, while I see
that FreeBSD ports holds amanda-3.3.2 and wonder if I can expect some
issues in migration?

Am I find if I simply copy my Linux /var/amanda directories considering
the output below?

[amanda@atmarama ~]$ amgetconf hi8 logdir
/var/amanda/state/log/hi8

I'm attaching output of /var/amanda/ tree to this message.

Any hint for smooth migration?

Sincerely,
Gour


-- 
He who is regulated in his habits of eating, sleeping, recreation 
and work can mitigate all material pains by practicing the yoga system.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


amanda-tree
Description: Binary data


signature.asc
Description: PGP signature


Re: Linux --- FreeBSD migration problem

2011-04-05 Thread Gour-Gadadhara Dasa
On Mon, 04 Apr 2011 18:01:13 -0400
Jean-Louis Martineau martin...@zmanda.com wrote:

 logdir is configurable in amanda.conf

OK.

 Run 'amgetconf CONF logdir' to find where amanda expect them.

OK. They're (now) in the correct place.

 Do the index are there? They should be in 'amgetconf CONF indexdir'

Yes.

 Do the tapelist file list all label with the correct date?

Here is the content of one such file:

20110317120137 d-movies-hi8 reuse
20110317120137 c-movies-hi8 reuse
20110317120137 b-movies-hi8 reuse
20110317120137 a-movies-hi8 reuse

 Do 'amadmin CONF find' list the dump?

No.

[amanda@atmarama amanda] amadmin movies-hi8 find
Warning: no log files found for tape d-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape c-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape b-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape a-movies-hi8 written 2011-03-17
12:01:37

No dump to list


Does it mean I'd have to re-backup (iow, restore and backup again)?

 What's in the amindexd debug file?

I don't have those and believe those were in /tmp/amanda which I didn't
backup. Are they required for amrecover to work properly?


Otoh, for another (most recent) config (which backed up LInux) I get:


[amanda@atmarama amanda] amadmin backup find
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-1
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
localhost
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
localhost
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
localhost
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
localhost
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
backup-2
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
localhost

No dump to list


What is this?


Sincerely,
Gour

-- 
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810




signature.asc
Description: PGP signature


Re: Linux --- FreeBSD migration problem

2011-04-05 Thread Jean-Louis Martineau
What was the amanda release on the linux box, What is the release on the 
FreeBSD box?


Gour-Gadadhara Dasa wrote:

On Mon, 04 Apr 2011 18:01:13 -0400
Jean-Louis Martineau martin...@zmanda.com wrote:

  

logdir is configurable in amanda.conf



OK.

  

Run 'amgetconf CONF logdir' to find where amanda expect them.



OK. They're (now) in the correct place.
  

I hope you have a different logdir for each config.
  

Do the index are there? They should be in 'amgetconf CONF indexdir'



Yes.

  

Do the tapelist file list all label with the correct date?



Here is the content of one such file:

20110317120137 d-movies-hi8 reuse
20110317120137 c-movies-hi8 reuse
20110317120137 b-movies-hi8 reuse
20110317120137 a-movies-hi8 reuse

  

Do 'amadmin CONF find' list the dump?



No.

[amanda@atmarama amanda] amadmin movies-hi8 find
Warning: no log files found for tape d-movies-hi8 written 2011-03-17

12:01:37
Warning: no log files found for tape c-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape b-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape a-movies-hi8 written 2011-03-17
12:01:37
  


It clearly state it do not find the log file, where is the 
log.20110317120137.0, is it in `amgetcong movies-hi8 logdir`

Post the file.


No dump to list


Does it mean I'd have to re-backup (iow, restore and backup again)?

  

What's in the amindexd debug file?



I don't have those and believe those were in /tmp/amanda which I didn't
backup. Are they required for amrecover to work properly?
  
They were generated by your amrecover try, you can also look at the 
amadmin debug file, sometimes they have more information on what's wrong.


Otoh, for another (most recent) config (which backed up LInux) I get:


[amanda@atmarama amanda] amadmin backup find
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 backup-1

Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 
localhost

No dump to list


What is this?
  

Something wrong in the file, nobody can know without looking at it.



Re: Linux --- FreeBSD migration problem

2011-04-05 Thread Gour-Gadadhara Dasa
On Tue, 05 Apr 2011 06:43:58 -0400
Jean-Louis Martineau martin...@zmanda.com wrote:

 What was the amanda release on the linux box, What is the release on
 the FreeBSD box?

Linux: 3.2.2
FreeBSD: 3.2.1


-- 
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810




signature.asc
Description: PGP signature


Re: Linux --- FreeBSD migration problem

2011-04-05 Thread Jean-Louis Martineau

Gour-Gadadhara Dasa wrote:

On Tue, 05 Apr 2011 06:43:58 -0400
Jean-Louis Martineau martin...@zmanda.com wrote:

  

What was the amanda release on the linux box, What is the release on
the FreeBSD box?



Linux: 3.2.2
FreeBSD: 3.2.1
  

A downgrade, some log line format changed, you must upgrade to 3.2.2.

Jean-Louis



Re: Linux --- FreeBSD migration problem

2011-04-05 Thread Gour-Gadadhara Dasa
On Tue, 05 Apr 2011 07:24:05 -0400
Jean-Louis Martineau martin...@zmanda.com wrote:

 A downgrade, some log line format changed, you must upgrade to 3.2.2.

It helped :-) although it's strange that minor release breaks
compatibility.

However, it also solves minor problem with my Linux backup which I've
on external USB disk.

Can I assume that those configs which cannot be found with:

amadmin CONF find

like:

Warning: no log files found for tape a-slides written 2011-03-10 06:32:21

have to be re-done?

I've followed wiki and put:

record no

for those configs since I need to backup those slides/movies for
archive and just from time to time (when working on some material)
restore some parts of it.

Do you still recommend to use 'record=no' next time when I'll have to
perform backup again?



Sincerely,
Gour

-- 
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810




signature.asc
Description: PGP signature


Re: Linux --- FreeBSD migration problem

2011-04-04 Thread Jean-Louis Martineau

logdir is configurable in amanda.conf
Run 'amgetconf CONF logdir' to find where amanda expect them.
Do the index are there? They should be in 'amgetconf CONF indexdir'
Do the tapelist file list all label with the correct date?
Do 'amadmin CONF find' list the dump?
What's in the amindexd debug file?

Jean-Louis

Gour-Gadadhara Dasa wrote:

Hello!

Few days ago I migrated from (Arch)Linux to (Free)PC-BSD and before
that I did complete backup to tapes as well as on the external HD of my
Linux OS along with user data.

Just before that, I also, while still on Linux, migrated from Bacula
to Amanda my whole multimedia collection (scanned 35mm positives as
well as hi-8  vhs movies).

I tested amrecover procedure as well as did amcheckdump and everything
was fine.

Today I've installed amanda-server on my Free/PC BSD desktop (from the
ports), but not matter what I do, when i attempt to do amrecover I get:
 
No index records for disk for specified date

If date correct, notify system administrator

Let me add that I copied my Amanda config/state/log files from Linux to
BSD. At first I re-created the same Linux setup on FreeBSD, but then
was hinted on #amanda to check whether both configuration match upon
which I discovered that on FreeBSD Amanda expects state/log files
at /usr/local/var/amanda.

However, despite of cp-ing Linux config to the new location, I get the
same error.

Now I wonder whether the solution might be to try to build Amanda in a
way to use same location for config files as on LInux (/var/amanda) or
it should not matter?

What might be wrong?

I am not happy if the only solution would be to restore my multi-tape
dumps back to HD and then doing  backup again?

Any hint?