{"modulePath":"github.com/mycontroller-org/server/v2","version":"v2.2.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package backup\n\n## Constants\n\n```go\nconst (\n\tKeyProviderType = \"providerType\"\n\n\tProviderDisk = \"disk\"\n)\n```\nbackup types\n\n```go\nconst (\n\tBackupIdentifier = \"mc_backup\"\n)\n```\nbackup identifier prefix\n\n## Functions\n\n```go\nfunc Backup(ctx context.Context, logger *zap.Logger, baseDir, prefix, storageExportType string, includeSecureShare, includeInsecureShare bool, storage storageTY.Plugin, bus busTY.Plugin) (string, error)\n```\nBackup creates zip file on a tmp location and returns the location details\n\n","path":"github.com/mycontroller-org/server/v2/plugin/handler/backup/util","name":"backup","synopsis":"","isRedistributable":true}
