DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th October 2021
girarde girarde is offline
Fdisk Soldier
 
Join Date: Nov 2010
Location: NW FL
Posts: 75
Default Backup Windows to an OpenBSD server

I have an OpenBSD box which I have been backing up to 6TB hard drives for some time now, using dump/restore. Works nicely. The 6TB drives are formatted FFS.

I have a couple of Windows machines that could use some backup, also. The 6TB drives go in a sled that I would prefer not to move around, and in any case they're FFS and Windows won't see the partitions.

I have succeeded in sharing them with samba, smb.conf like this:

Code:
[global]
   workgroup = WORKGROUP
   server string = Samba Server
   server role = standalone server
   log file = /var/log/samba/smbd.%m
   max log size = 50
   dns proxy = no 
   map to guest = Bad User

[WIN1BAK]
   browseable = yes
   path = /backup/WIN1
   writable = yes
   guest ok = yes
   public = yes

[WIN2BAK]
   browseable = yes
   path = /backup/WIN2
   writable = yes
   guest ok = yes
   public = yes
Those directories are owned nobody:nobody, permission 777.

WIN1 and WIN2 see the shares, start backing up, (writing files) and eventually fail with error 0x80070032.

Has anybody solved this without adding a backup package, and if so which?
Reply With Quote
  #2   (View Single Post)  
Old 8th October 2021
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

For physically attached NTFS filesystems, I have used ntfsclone(8), a utility included with sysutils/ntfs_3g.
Reply With Quote
  #3   (View Single Post)  
Old 8th October 2021
girarde girarde is offline
Fdisk Soldier
 
Join Date: Nov 2010
Location: NW FL
Posts: 75
Default

Do you mean physically attached to the OpenBSD machine? The backups I want to take are of internal HDD over the wire.
Reply With Quote
  #4   (View Single Post)  
Old 8th October 2021
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Yes, I do. Typically SATA or USB-connected.
Reply With Quote
  #5   (View Single Post)  
Old 8th October 2021
girarde girarde is offline
Fdisk Soldier
 
Join Date: Nov 2010
Location: NW FL
Posts: 75
Default

Quote:
Originally Posted by jggimi View Post
Yes, I do. Typically SATA or USB-connected.
Which would require an additional disk (non-FFS).
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to backup OpenBSD? daemonfowl OpenBSD General 6 20th February 2012 10:26 AM
Misc. BSD/UNIX Inside Mac OS X 10.7 Lion Server: Apple replaces Samba for Windows networking service J65nko News 0 24th March 2011 08:06 PM
The best way to backup windows TerryP Other OS 4 8th February 2009 10:32 PM
FreeBSD server, Windows clients, daily backups Weaseal FreeBSD General 4 25th December 2008 05:50 PM
rsync freebsd server/windows client Weaseal FreeBSD General 0 27th August 2008 12:29 AM


All times are GMT. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick