You are here
Hugo Logmans - Fri, 2016/08/26 - 15:44
I have a recent backup of a Joomla16 instance (nowhere to be found anymore). When I try to recover that to a new Joomla3 instance, I have two problems:
1. A crash. Tried restoring multiple times but eventually this error happens and not all data is restored.
2. In the raw backup, I cannot find the mysql databases in use. I would expect them in var/lib/mysql (in the raw backup), but I cannot find database files anywhere. Are they stored in some other form?
Hope someone knows this, otherwise everything is lost...
...
NO NEW PACKAGES TO INSTALL
FILES - restoring files, ownership and permissions
--------------------------------------------------
MERGING USERS AND GROUPS:
UID 100 => 1014
...
GID 115 => 121
Traceback (most recent call last):
File "/usr/bin/tklbam-restore", line 553, in <module>
main()
File "/usr/bin/tklbam-restore", line 526, in main
restore.files()
File "/usr/lib/tklbam/restore.py", line 202, in files
changes = Changes.fromfile(extras.fsdelta, limits)
File "/usr/lib/tklbam/changes.py", line 184, in fromfile
changes = [ Change.parse(line) for line in fh.readlines() ]
File "/usr/lib/tklbam/changes.py", line 127, in parse
return op2class[op].fromline(line[2:])
File "/usr/lib/tklbam/changes.py", line 81, in fromline
return cls(*args)
TypeError: __init__() takes at most 4 arguments (6 given)
FILES - restoring files, ownership and permissions
--------------------------------------------------
MERGING USERS AND GROUPS:
UID 100 => 1014
...
GID 115 => 121
Traceback (most recent call last):
File "/usr/bin/tklbam-restore", line 553, in <module>
main()
File "/usr/bin/tklbam-restore", line 526, in main
restore.files()
File "/usr/lib/tklbam/restore.py", line 202, in files
changes = Changes.fromfile(extras.fsdelta, limits)
File "/usr/lib/tklbam/changes.py", line 184, in fromfile
changes = [ Change.parse(line) for line in fh.readlines() ]
File "/usr/lib/tklbam/changes.py", line 127, in parse
return op2class[op].fromline(line[2:])
File "/usr/lib/tklbam/changes.py", line 81, in fromline
return cls(*args)
TypeError: __init__() takes at most 4 arguments (6 given)
Forum:
Tags:
Found the databases, but how fix the error
I found the databases dumps in myfs. Now how to restore them?
Restored database by skipping all files...
And still the crash that prevents restoring the files...
Found the cause of the error
Somehow some way someone managed to generate a filename with two tabs in the filename... When you split this line using tabs (fsdelta file), then you get this error.
Found the problematic line by learning Python and do some exception handling in changes.py...
Hi Hugo
Add new comment