zxbackup error when use ftp storage

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
fferraro87
Advanced member
Advanced member
Posts: 99
Joined: Thu Apr 28, 2016 8:58 am

zxbackup error when use ftp storage

Post by fferraro87 »

Hi,
i'm trying to use a ftp storage (that is on a qnap) so i'm using this command in order to mount this ftp resource on a mountpoint inside my /opt/zimbra/ folder :

Code: Select all

curlftpfs#192.168.2.220/Backup_FTP /opt/zimbra/external fuse rw,uid=zimbra,gid=zimbra,umask=002,user,suid,allow_other,auto 0 0
so i've mounted on /opt/zimbra this ftp drive with this permissions :

Code: Select all

drwxrwxr-x   1 zimbra zimbra  1024 Jan  1  1970 external 
ok so now i've change backup property on ng modules manager and i've this :

Code: Select all

ZxBackup_DoSmartScanOnStartup                               false (false)
ZxBackup_DestPath                                           /opt/zimbra/external (/opt/zimbra/backup/)
ZxBackup_SmartScanSchedulingEnabled                         true (true)
ZxBackup_SpaceThreshold                                     1024 (1024)
ZxBackup_BackupCustomizations                               true (true)
ZxBackup_ModuleEnabledAtStartup                             true (true)
ZxBackup_PurgeWeekDay                                       6 (6)
ZxBackup_PurgeCustomizations                                true (true)
ZxBackup_SmartScanStartTime                                 4 (4)
ZxBackup_DataRetentionDays                                  15 (30)
ZxBackup_RealTimeScanner                                    true (true)
ZxBackup_MaxMetadataSize                                    20 (20)
but when i try to initialize backup path i've this error :

Code: Select all

This is an automated notification from Backup about Smart Scan.

Operation Smart Scan Completed.

Operation Id: 0426a8ce-afb9-4799-bab7-08ef569735eb
Operation Host: mail.mailserver-fra.it
Operation Start Time: 23/01/2018 11:52:06
Operation Duration: 36 seconds
Operation requested by:  admin@mailserver-fra.it

Network Modules NG Version: 2.6.1
Network Modules NG commit: 6a2ebd86bb1d340b4653a29ec90c7345caace7f1
ZAL Version: 2.1.1
ZAL commit: 9fb9554663247096cf3a95b7f6053ddb5150b1ae
Zimbra version: 8.8.6_GA_1906 20171130041047 20171130-0434 NETWORK

- stats -
                   new accounts: 0
               accounts updated: 0
       skipped accounts(by COS): 0
                   item updated: 0
                   new metadata: 0
                      new files: 0
                  checked items: 0
                    backup path: /opt/zimbra/external
                  skipped items: 0
             I/O read exception: 0
              num skipped files: 0
                      items/sec: 0
  additional notification mails: admin@mailserver-fra.it
like if i don't have any account on my server.
Also if i going back to "Network Modules NG"->Backup i've always this warning :
"Your Backup Path seems not be initialized"

but inside /opt/zimbra/external folder there is these files :

Code: Select all

total 12
drwxrwxr-x   1 zimbra zimbra 1024 Jan  1  1970 .
drwxr-xr-x. 33 root   root   4096 Jan 23 10:38 ..
-rwxrwxr-x   1 zimbra zimbra    0 Jan 23 12:00 .aa
drwxrwxr-x  53 zimbra zimbra 4096 Jan 23 11:52 accounts
-rwxrwxr-x   1 zimbra zimbra    0 Jan 23 11:52 backupstat.tmp
-rwxrwxr-x   1 zimbra zimbra    0 Jan 23 10:16 lock_745d909e-8ba5-45c1-8b41-fe17380e89c1
drwxrwxr-x   2 zimbra zimbra 4096 Jan 23 11:52 server

so where i'm wrong?

Thanks
Post Reply