Axigen Backup Question

Good day,

I am using rsync to make full and incremental backup but is there another way to do it?

I notice and it is a pain in the ***, everytime the incremental backup run it is copying almost all the container again.
I have 13-15 containers approx around 700gb.

Is there a way to tell Axigen to touch only the specific container and don’t touch the remaining? As it change all the time stamp to each container and files.

Hope you can give me a better Ideas.

Regards,
Jay

Hi.
Download axi_backup_tools.zip from below link:

Note that before use it, need to install fusemount with this doxument:

good luck

@Mohammad

I did and succeed mounting image
but as soon i run the command with the correct ip, port, passwd, mnt source, mnt destination.

It gives the error “Unable to mount axigen backup filesystem”

Jay

Unmount it.
This script automatically mount axigen file system.

same error after unmounting.

@Mohammad

Any other suggestion about the issue?

Jay

did you uncomment " user_allow_other" in file ‘/etc/fuse.conf’ ?
Important! After ‘user_allow_other’ you must have an empty line

@Mohammad

Yes, all was done properly.
image

Hello Jay,

Are you running the command from the server or from a remote PC (for example via a SSH session)?

I’m asking this because the exposed mount point (that you could successfully mount via WebAdmin - as mentioned in post #3), for obvious reasons, could be access only on the server.

Please advice.

BR,
Ioan

Hi @indreias

I am running from the server directly. mount point /mnt/axigen destination /mnt/backup/axigen.

Jay

Hello Jay,

Excellent - could you please capture the script output and share it here?

Before this please double check that:

#1 /mnt/axigen is empty and have RWX for all (777 mode)

#2 /mnt/backup/axigen is empty and have RWX for all (777 mode)

Please advice.

BR,
Ioan

@indreias

image

If you want me to make it (777) i can do it as well.
Even after putting (777) same result
image

./axibackup.py -H 127.0.0.1 -p 7000 -u admin -P xxxx /mount/axigen/ /mnt/Disk/axigen/
Unable to mount axigen backup filesystem

Regards
Jay

Hello Jay,

Could you mount and unmount /mnt/axigen from WebAdmin (as you have already test in post #3

If the mount is successful, what is the output from:

ls -rtl /mnt/axigen/*

Could you please increase log level for CLI service to Protocol Communication, try again to use the backup script and post here the relevant CLI logs?

HTH,
Ioan

@indreias

Mounting from WebAdmin Good.
image

[root@Svr mnt]# ls -rtl /mnt/axigen/*
-rw------- 1 root root 210 May 24 2011 /mnt/axigen/waDomainFilter.sieve
-rw------- 1 root root 0 May 24 2011 /mnt/axigen/waAccoutDefaultFilter.sieve
-rw------- 1 root root 4763 Oct 31 10:23 /mnt/axigen/domainConfig.abf
-rw------- 1 root root 918 Oct 31 14:39 /mnt/axigen/domainObjectList.txt

/mnt/axigen/publicFolder:
total 0
drwx------ 2 root root 0 May 24 2011 Public Contacts.contacts
-rw------- 1 root root 155 Oct 31 10:23 publicFolderConfig.abf
-rw------- 1 root root 317 Oct 31 14:39 folderList.txt
-rw------- 1 root root 122 Oct 31 14:40 publicFolderACL.abf

/mnt/axigen/mailingLists:
total 0

/mnt/axigen/groups:
total 0
drwx------ 2 root root 0 Oct 31 14:39 A
drwx------ 2 root root 0 Oct 31 14:39 B
drwx------ 2 root root 0 Oct 31 14:39 C
drwx------ 2 root root 0 Oct 31 14:39 D

/mnt/axigen/folderRecipients:
total 0

/mnt/axigen/accounts:
total 0
drwx------ 2 root root 0 Oct 31 14:39 1
drwx------ 2 root root 0 Oct 31 14:39 2
drwx------ 2 root root 0 Oct 31 14:39 3
drwx------ 2 root root 0 Oct 31 14:39 4
drwx------ 2 root root 0 Oct 31 14:39 5
drwx------ 2 root root 0 Oct 31 14:39 6
drwx------ 2 root root 0 Oct 31 14:39 7
drwx------ 2 root root 0 Oct 31 14:39 8
drwx------ 2 root root 0 Oct 31 14:39 9
drwx------ 2 root root 0 Oct 31 14:39 10
drwx------ 2 root root 0 Oct 31 14:39 11
drwx------ 2 root root 0 Oct 31 14:39 12
drwx------ 2 root root 0 Oct 31 14:39 13
drwx------ 2 root root 0 Oct 31 14:39 14
drwx------ 2 root root 0 Oct 31 14:39 15
drwx------ 2 root root 0 Oct 31 14:39 16
drwx------ 2 root root 0 Oct 31 14:39 17
drwx------ 2 root root 0 Oct 31 14:39 18
drwx------ 2 root root 0 Oct 31 14:39 19
drwx------ 2 root root 0 Oct 31 14:39 20
drwx------ 2 root root 0 Oct 31 14:39 21
drwx------ 2 root root 0 Oct 31 14:39 22
[root@Svr mnt]


CLI Logs
2020-10-31 14:46:13 +0400 08 Svr CLI:0000277B: [127.0.0.1:7000] connection accepted from [127.0.0.1:33182]
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> Welcome to AXIGEN’s Command Line Interface
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> You must login first. For a list of available commands, type HELP
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << <#> user admin
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << PASS ******
2020-10-31 14:46:13 +0400 08 Svr CLI:0000277B: Login successful: admin-user ‘admin’(id=0x00000000) from 127.0.0.1:33182
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> For a list of available commands, type HELP
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> +OK: Authentication successful
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << <#> CONFIG server
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> +OK: command successful
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << <server#> CONFIG ftp-backup
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> +OK: command successful
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << <server-ftpBackup#> filesystem mount /mount/axigen/ backup axigen-0qzXV-0
2020-10-31 14:46:13 +0400 02 Svr CLI:0000277B: -ERR: error mounting: /mount/axigen/ (Cannot create FUSE mount point)
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> -ERR: error mounting: /mount/axigen/ (Cannot create FUSE mount point)
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << <server-ftpBackup#> quit
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> WARNING: all changes made and not committed are lost
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> connection to AXIGEN closing.
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> +OK: have a nice day
2020-10-31 14:46:13 +0400 08 Svr CLI:0000277B: closing session from [127.0.0.1:33182]
2020-10-31 14:46:13 +0400 08 Svr CLI:0000277B: Logout successful : admin-user ‘admin’(id=0x00000000) from 127.0.0.1:33182
2020-10-31 14:46:14 +0400 08 Svr CLI:0000277C: [127.0.0.1:7000] connection accepted from [127.0.0.1:33184]
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> Welcome to AXIGEN’s Command Line Interface
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> You must login first. For a list of available commands, type HELP
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: << <#> user admin
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: << PASS ******
2020-10-31 14:46:14 +0400 08 Svr CLI:0000277C: Login successful: admin-user ‘admin’(id=0x00000000) from 127.0.0.1:33184
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> For a list of available commands, type HELP
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> +OK: Authentication successful
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: << <#> CONFIG server
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> +OK: command successful
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: << <server#> CONFIG ftp-backup
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> +OK: command successful
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: << <server-ftpBackup#> filesystem unmount /mount/axigen/
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> * Waiting for opened files to close…
2020-10-31 14:46:14 +0400 02 Svr CLI:0000277C: -ERR: error unmounting: /mount/axigen/ (No such file or directory)
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> -ERR: error unmounting: /mount/axigen/ (No such file or directory)
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: << <server-ftpBackup#> quit
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> WARNING: all changes made and not committed are lost
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> connection to AXIGEN closing.
2020-10-31 14:46:14 +0400 16 Svr CLI:0000277C: >> +OK: have a nice day
2020-10-31 14:46:14 +0400 08 Svr CLI:0000277C: closing session from [127.0.0.1:33184]
2020-10-31 14:46:14 +0400 08 Svr CLI:0000277C: Logout successful : admin-user ‘admin’(id=0x00000000) from 127.0.0.1:33184

Seems when running the backup scripts if failed to create fuse.
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: << <server-ftpBackup#> filesystem mount /mount/axigen/ backup axigen-0qzXV-0
2020-10-31 14:46:13 +0400 02 Svr CLI:0000277B: -ERR: error mounting: /mount/axigen/ (Cannot create FUSE mount point)
2020-10-31 14:46:13 +0400 16 Svr CLI:0000277B: >> -ERR: error mounting: /mount/axigen/ (Cannot create FUSE mount point)

Regards,
Jay

@indreias any feedback?

please try the following command (replacing /mount/axigen with /mnt/axigen as your desired mounting point):

./axibackup.py -H 127.0.0.1 -p 7000 -u admin -P xxxx /mnt/axigen/ /mnt/Disk/axigen/

HTH,
Ioan

@indreias

Thanks for the extra set of eyes. I did not notice my mistake about the mounting point. I will try this tomorrow and give you a feedback.

Regards,
Jay

@indreias

Thanks a lot, It works now after fixing the mistake on the command.

Another question, If I hosted multiple domains and I want only to restore the specific domain should I still run the same command for the restore? All other domains will not be affected?

./axirestore.py -H 127.0.0.1 -p 7000 -u admin -P xxxx /mnt/axigen/ /mnt/Disk/axigen/

Thanks and Regards,
Jay