Jump to content

cracksilver

Members
  • Content Count

    96
  • Joined

  • Last visited

Community Reputation

1 Neutral

About cracksilver

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I never had this issue again. The server runs and runs and runs...
  2. sorry, I didn't see that down there
  3. Looks good. I would go for ECC-RAM and I would take a case that has enough externally accessible hard drive bays. greg
  4. Thank you johnnie for this tip. It works again. I'm wondering why this error happened on the new USB stick...
  5. I got no error message again. But what does it mean this message? Last login: Wed Feb 27 18:30:02 +0100 2019 on /dev/pts/0. root@Tower:~# diagnostics Starting diagnostics collection... awk: cmd. line:1: (FILENAME=/tower-diagnostics-20190227-1834/logs/syslog.txt FNR=54) warning: Invalid multibyte data detected. There may be a mismatch between your data and your locale. done. ZIP file '/boot/logs/tower-diagnostics-20190227-1834.zip' created.
  6. Thanks. i've no windows - since 15 years windows free 😀 Did it on my mac: sorry, only in german... Dateisystem reparieren. Volume wurde erfolgreich deaktiviert. fsck_msdos -y /dev/rdisk2s1 ausführen ** /dev/rdisk2s1 ** Phase 1 - Preparing FAT ** Phase 2 - Checking Directories Invalid long filename entry for /CONFIG/PLUGINS/dockerMan Remove? yes ** Phase 3 - Checking for Orphan Clusters 479 files, 3679076 KiB free (919769 clusters) ***** FILE SYSTEM WAS MODIFIED ***** Exit-Code für Dateisystemprüfung lautet 0. Der ursprüngliche Zustand (aktiviert) wird wiederhergestellt. Vorgang erfolgreich. Now I'll reboot again and look at..
  7. after another restart again the same message.... 🤔
  8. Hi there After restart my server (add some unassigned HD's) the server shows me the message that he is unable to write to flash drive. My flash drive is a new one (4 weeks) and I never had some problems. Does anyone know which corner I should start looking for where the problem is? added diagnostics.zop, pics of error message and main tab. Thanks a lot. greg tower-diagnostics-20190227-1737.zip
  9. Hi there I'm looking for a notification code to add in my backup script which I found on this site. By the way it works like a charm. I really recommend it to anybody who looks for a backup solution like apples time machine. Would like to have to messages: 1. after finished without problems 2. if there is a problem, with information about the problem Sorry, I'm not a coder. Can anyone help me please? Thanks in advance. greg #!/bin/bash # # Backup mimicking Time Machine from Mac OS X using rsync # --- Variables --- # OS=$(uname -s) HOST=$(hostname) DATE_FORMAT=$(date "+%Y-%m-%d-%H%M%S") CURRENT_YEAR=$(date +%Y) CURRENT_MONTH=$(date +%m) RSYNC_OPTIONS="--archive --partial --progress --human-readable" # Use absolute paths. Relative paths tend to break the hard linking advantage of rsync. # Paths can include spaces as long as variable contents are double quoted SOURCE="/mnt/user/googledrive_resilio_sync/Sounds" DESTINATION="/mnt/disks/backup_SAM_2876_sounds/Sounds" # --- Main Program --- # # Create destination if it does not exist if [[ ! -d "$DESTINATION" ]] ; then mkdir -p "$DESTINATION" fi # Make inital backup if Latest does not exist, otherwise only copy what has changed # and hard link to files that are the same if [[ ! -L "$DESTINATION"/Latest ]] ; then rsync $RSYNC_OPTIONS \ --delete \ "$SOURCE" "$DESTINATION"/$DATE_FORMAT else rsync $RSYNC_OPTIONS \ --delete \ --delete-excluded \ --link-dest="$DESTINATION"/Latest \ "$SOURCE" "$DESTINATION"/$DATE_FORMAT fi # Remove symlink to previous Latest backup rm -f "$DESTINATION"/Latest # Create symlink to latest backup ln -s $DATE_FORMAT "$DESTINATION"/Latest # --- Remove old backups --- # # BSD date in OS X has a different syntax than GNU date in Linux if [[ $OS == "Darwin" || $OS == "FreeBSD" ]]; then # Return YYYY one year ago from today LAST_YEAR=$(date -v -1y "+%Y") elif [[ $OS == "Linux" ]]; then # Return YYYY one year ago from today LAST_YEAR=$(date -d "last year" "+%Y") fi # Keep monthly backups for one year for (( month = 1 ; month < $CURRENT_MONTH ; month++ )); do # List latest backup from each month of current year # Use printf to pad the single digit months with a 0 LATEST_BACKUP=$(find "$DESTINATION" -mindepth 1 -maxdepth 1 -name ${CURRENT_YEAR}-$(printf "%02d" $month)-* | sort | tail -n 1) find "$DESTINATION" -mindepth 1 -maxdepth 1 -name ${CURRENT_YEAR}-$(printf "%02d" $month)-* | grep -v "$LATEST_BACKUP" | xargs -I {} rm -rf {} done for (( month = $CURRENT_MONTH ; month <= 12 ; month++ )); do # List latest backup from each month of current year # Use printf to pad the single digit months with a 0 LATEST_BACKUP=$(find "$DESTINATION" -mindepth 1 -maxdepth 1 -name ${LAST_YEAR}-$(printf "%02d" $month)-* | sort | tail -n 1) find "$DESTINATION" -mindepth 1 -maxdepth 1 -name ${LAST_YEAR}-$(printf "%02d" $month)-* | grep -v "$LATEST_BACKUP" | xargs -I {} rm -rf {} done # Remove backups older than one year for (( month = 1 ; month < $CURRENT_MONTH ; month++ )); do find "$DESTINATION" -mindepth 1 -maxdepth 1 -type d -name "$LAST_YEAR-$(printf "%02d" $month)-*" | xargs -I {} rm -rf {} done find "$DESTINATION" -mindepth 1 -maxdepth 1 -type d ! -name "$CURRENT_YEAR-*" | grep -v "$LAST_YEAR-*" | xargs -I {} rm -rf {}
  10. Hi there This one might work for you as well. Cheers greg
  11. Sounds very good. Go for it. You'll be very happy with unRaid. Greg