Could not create directory when creating backups stored on mounted NFS

Still need help?

The Atlassian Community is here for you.

Ask the community


When creating a backup the following will appear in the command line:

./ backup -f /backup/fisheye/ -c 9 --no-sql --cache
INFO - Using log4j configuration file: /opt/atlassian/fisheye/log4j-client.xml
INFO - FishEye arguments: [-f, /backup/fisheye/, -c, 9, --no-sql, --cache]
Could not create directory: /backup/fisheye
Backup failed
Could not create directory: /backup/fisheye

The following appears in the atlassian-fisheye-YYYY-MM-DD.log:

2014-06-25 16:34:30,747 WARN  [Thread-19833 ] fisheye ShutdownService-handleClient - Problem with command: backup. Could not create directory: /backup/fisheye
	at com.atlassian.crucible.migration.BackupManagerImpl.createBackup(
	at com.atlassian.crucible.migration.BackupManagerImpl.access$000(
	at com.atlassian.crucible.migration.BackupManagerImpl$1.perform(
	at com.atlassian.crucible.migration.BackupManagerImpl$1.perform(
	at com.atlassian.crucible.maintenance.MaintenanceManager.doMaintenance(
	at com.atlassian.crucible.migration.BackupManagerImpl.createBackupAtLocation(
	at com.cenqua.fisheye.ctl.ShutdownService.backup(
	at com.cenqua.fisheye.ctl.ShutdownService.handleClient(
	at com.cenqua.fisheye.ctl.ShutdownService.access$200(
	at com.cenqua.fisheye.ctl.ShutdownService$


This is caused by a permission error that prevents the user running the backup command from writing and creating directories in the specified directory.


  • Verify that the user running the command has permission to write and create directories in the path provided.

    touch /backup/fecru/write_file
    mkdir /backup/fecru/new_dir
  • Verify that the fstab configuration includes the suid option which permits the operation of suid and sgid bits.

    <SERVER>:/volumes/pool-misc/Backups /backup nfs auto,rw,suid,noatime,nolock,bg,nfsvers=3,intr,tcp,actimeo=1800 0 0

Last modified on Jan 16, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.