- Joined
- Feb 26, 2020
- Messages
- 63
- Reaction score
- 23
I am unable to back up straight to an s3 bucket using s3fs or goofys.
I receive the following error via email:
The drive shows as 1PB in df. Here are speed tests:
These tests were able to be ran by the 'phonesystem' user.
If anyone has any ideas please let me know, as SFTP is the only viable option available right now and in my experience it has been rather slow, slower than backing up locally and running an rsync script 30 min after scheduled time
I receive the following error via email:
C#:
Your 3CX backup failed due to the following reason(s):
System.IO.IOException: Operation not supported
at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
at System.IO.FileStream.FlushWriteBuffer()
at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin)
at System.IO.Compression.ZipArchiveEntry.WriteCrcAndSizesInLocalHeader(Boolean zip64HeaderUsed)
at System.IO.Compression.ZipArchiveEntry.DirectToArchiveWriterStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Compression.WrappedStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at _3cxNetBackupAndRestore._3cxBackup.WriteMetadata(ZipArchive zipStream)
at _3cxNetBackupAndRestore._3cxBackup.StartBackup(Stream backupStream)
at ManagementConsoleJS.Services.BackupService.Backup(BackupDescription backupDescription)
Bash:
xyz@3cx:~$ dd if=/dev/urandom of=/mnt/s3drive/test.dat bs=1MB count=128
128+0 records in
128+0 records out
128000000 bytes (128 MB, 122 MiB) copied, 3.45705 s, 37.0 MB/s
xyz@3cx:~$ dd if=/dev/urandom of=/mnt/s3drive/test.dat bs=1MB count=1024
1024+0 records in
1024+0 records out
1024000000 bytes (1.0 GB, 977 MiB) copied, 18.5052 s, 55.3 MB/s
xyz@3cx:~$ dd if=/dev/urandom of=/mnt/s3drive/test.dat bs=1MB count=512 conv=fdatasync
512+0 records in
512+0 records out
512000000 bytes (512 MB, 488 MiB) copied, 10.1785 s, 50.3 MB/s
If anyone has any ideas please let me know, as SFTP is the only viable option available right now and in my experience it has been rather slow, slower than backing up locally and running an rsync script 30 min after scheduled time